Help
Center
Need answers to questions about Vista pricing or features? Search our Help Center.
 
 
 
 
Print this page   Email this page to a friend

Validation Example: If Other Please Specify

When you add a Multiple Choice Question or Select Many Question in your survey you may want to add an "Other" option that allows the survey participants to respond with information that is not listed as an option in your question.  To ensure that participants that select "Other" enter information, you can create a Validation Message to validate whether a user that chooses "Other" also fills in the Text Box for the "Other" option. 

Here are steps to add this validation:

  1. In the Edit tab, enter your Multiple Choice or Select Many question.
     
  2. In the Edit tab, right-click the new question, and click Insert After.
     
  3. In the Querstion Gallery, click the "Other" Text Box question type.
     
    Other question type
     
  4. Click OK.
     
  5. In the Edit tab, right-click the "Other" Text Box question, and click Insert After.
     
  6. In the Querstion Gallery, click the Validation Message question type.

    Validation Message question type
     
  7. In the question editor for the Validation Message, enter your text: "Please specify a value for Other."
     
  8. Click the Ask if button to add an Ask if conditional.

    Ask if dialog
     
  9. For the Ask if drop-down list box, choose Other (at the end of the list) and click OK.  This will bring you to the Ask if Conditional page where you can enter a conditional statement.
     
  10. Enter the condition for the Validation Message question, and click OK.  For example, here is a conditional statement that displays the Validation Message question when the "Other" option is selected in question Q1 of a survey: 

    [Q1]=="Other"&&[Q1a]==""

    For more information on formulas in Vista, see Formula Commands.
     
  11. Click OK again to return to the Edit tab.  You will notice that there is an error on the Edit tab because the Validation Message question is not separated from the "Other" Text Box question by a page break.  These question must be separated by a page break in order for the condition placed on the Validation Message question to be evaluated.

    Ask if error
     
  12. In the error message, click Fix it for me.  You can also fix this error by right-clicking the "Other" Text Box question and then clicking Break After.
     
  13. Click Save

Here is how your final questionnaire will look:

 Validation Example complete



  Customer Surveys  |  Employee Surveys  |  Website Surveys
Online Forms  |  Market Research Surveys  |  Salesforce Surveys
Online Surveys  |  Questionnaires  |  Online Polls

Online Help  |  Contact Us  |  Terms of Use  |  Privacy Policy
Vanguard Software
© 2014 Vanguard Software Corporation
Home Solutions Features Pricing My Account Customers Company
Help
Center
Need answers to questions about Vista pricing or features? Search our Help Center.
Online Help