Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Validate question output based on previous first question.

  • sjsls2016
  • sjsls2016's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 6 months ago #142851 by sjsls2016
Hello there everyone. I have been digging around to find some answers but no luck. Please help me.
I would like to create two questions.
q1 = What is your email address?
short text output answer
q2 = Confirm your email address.
short text output answer

I was successful in finding a way to validate email address. However I want that question number 2 or q2 to validate if the answer from q1 is equal to the answer in q2.

I would be grateful to those who can help. Thank you so much.
The topic has been locked.
More
7 years 6 months ago - 7 years 6 months ago #142861 by SIMOON
Edit your q2.
Go in the right menu, Advanced settings.
Scroll to Logic tab.

Find : Question Validation Equation (or something like this, IDK how it appear in English) and type this :
Code:
q2.value == q1.value
Last edit: 7 years 6 months ago by SIMOON.
The following user(s) said Thank You: sjsls2016
The topic has been locked.
  • sjsls2016
  • sjsls2016's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 6 months ago #142865 by sjsls2016
Thank you so much. It works, 100%
You are such an angel. :-)
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose