Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview

Excerpt

A Questionnaire is a submittable form which allows information to be provided by online users to the web application. Questionnaires are a flexible way to create and present forms and collect user information.

Customer Self Service Questionnaires can be employed to collect non-standard information from users. Some common uses include:

...

  1. Questionnaire Questions - Questions created here can be used by one or many questionnaires. read more
  2. Questionnaire Groups - Questionnaire Groups allow questionnaires to be set up utilising the questions contained in Questionnaire Questions. read more 
  3. Questionnaire Maintenance - Questionnaires using templates allow for common uses such as Contact Us, Returns, Warranties, Quotes, Feedback, etc. read more

Step-by-step guides

Anchor
QuestionnaireQuestions
QuestionnaireQuestions

Questionnaire Questions

To Create a Questionnaire Question:

...

  1. Login as an Administrator.
  2. Navigate to 'Preferences' --> 'Questionnaire Questions' (/questionmaintenance.aspx).
  3. Select the required question via radio button.
  4. Click 'Delete'.

    Warning
    titleWarning

    Be sure you have selected the correct question to delete - there is no 'confirm' option.

Anchor
QuestionnaireGroups
QuestionnaireGroups

Questionnaire Groups

To Create a Questionnaire Group:

  1. Login as an Administrator.
  2. Navigate to 'Preferences' --> 'Questionnaire Groups' (/questionnairemaintenance.aspx).
  3. Click 'New'. 
  4. Set the field values as follows:
    1. Questionnaire Code - A unique code to identify this questionnaire.
    2. Email Address - An internal email address to which questionnaire responses will be sent.
    3. Top Template - From the drop-down list, select the template to be shown at the top of the questionnaire. An example might be the "Conditions of Return" template for a Returns questionnaire.
    4. Bottom template - From the drop-down list, select the template to be shown at the bottom of the questionnaire.
    5. *Field to Validate - Nominates a question to be validated against a field within a table (refer 'Table to validate against' and 'Field to validate against', below). Select an available question from the drop-down list.
    6. *Field for users email address - Nominates a question to be used as the email address for the user. Select an available question from the drop-down list.
    7. *Table to validate against - This is the table to be used if a question was chosen under 'Field to Validate'. Select an available table from the drop-down list.
    8. *Field to validate against - This the field within the Table that the question is to be validated against. If a table is chosen, a drop-down list of available fields is provided to choose from.
    9. *Page to run on validation true - If validation is used, the page to be displayed on successful validation can be selected from the drop-down list.
    10. *Email to send on validation true - If validation is used, the email to be sent on successful validation can be selected from the drop-down list.
    11. *Page to run on validation false - If validation is used, the page to be displayed on validation fail can be selected from the drop-down list.
    12. *Email to send on validation false - If validation is used, the email to be sent on validation fail can be selected from the drop-down list.
    13. *Field to store validation result - If validation is used, the question field in which to store the validation result can be selected from the drop-down list.
    14. *Spam Validation - Tick this box to activate anti-spam emails by requiring the user who completes to enter a validation code.
    15. *Attachment Upload - Tick this box to allow the user to upload attachments to the questionnaire.
    16. *Completion message displayed to user - The message displayed to the user on submission of the questionnaire.
    17. *Use User Email As Sender Address - Tick this box if you want the "from" email address to be the notification email address of the user completing the questionnaire.
  5. Click 'OK' to save.

...

  1. Login as an Administrator.
  2. Navigate to 'Preferences' --> 'Questionnaire Groups' (/questionnairemaintenance.aspx).
  3. Select the required Questionnaire via radio button.
  4. Click 'Delete'.

    Warning
    titleWarning

    Be sure you have selected the correct questionnaire to delete - there is no 'confirm' option.


Anchor
QuestionnaireMaintenance
QuestionnaireMaintenance

Questionnaire Maintenance

Questionnaires using templates allow common uses such as Contact Us, Returns, Warranties, Quotes, Feedback, etc.

Tip
titleTip

Questions set up here can be used in multiple questionnaires.

Questionnaires using Templates

The following code must be added to the template.

...

  • This new hidden field, if defined in page HTML, will indicate that the values in the form (prefixed with the value CVFormField_ in their name) will need to be saved to the table QuestionnaireResults
  • The value after CVFormField_ in the input name will indicate the field in the QuestionnaireResults table to save the user input into. eg. CVFormField_Age
  • If the field in the QuestionnaireResults table does not exist, the submission of the form will continue saving data for those fields that do exist and not storing the data for the missing fields. It will then send a CVNotify email to indicate which fields are missing from the QuestionnaireResults table
  • The value in the new hidden field will be what is recorded in the field Code in the table QuestionnaireResults.
  • The value in the EmailAddress field in the QuestionnaireResults table will be the EmailAddress of the current user in session (i.e. this could be a guest user).

Questionnaires Implementation

After questionnaires have been created, they must be made available to end users via links on the relevant pages or via menu items or page routes. Refer to:
Adding a New Menu Item 
SEO Page Routes 
 

Info
titleTip

For menu items linked to questionnaires, the following need to be included in the set-up:
Page Name - Questionnaire.aspx
Parameter - questionnaire=[questionnairecode] where [questionnairecode] is the relevant questionnaire code. eg questionnaire=contactus

 

 

Content by Label
showLabelsfalse
max5
spacesKB
sortmodified
showSpacefalse
reversetrue
typepage
labelskb-how-to-article form contact questionnaire