Welcome to the LimeSurvey Community Forum

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

Sub-Question validation for multiple short text type questions

  • Tchumbura
  • Tchumbura's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 3 months ago #223542 by Tchumbura
Please help us help you and fill where relevant:
Your LimeSurvey version: 4.2.5
Own server or LimeSurvey hosting: Own server
Theme: Bay of many
==================
I am using multiple short text Type: Q question. For sub questions I am asking my respondents to fill their telephone number SQ01 and email SQ03. I am also asking them to repeat their telephone number SQ02 and email SQ04. I would like to know if it's possible for SQ02 to validate SQ01 (same with the SQ04 and SQ03) and if the response doesn't match the respondent to get an error, and what would the code for this look like. I think it might be easier to do this with few short free text: Type: S but I'd prefer to use multiple short text because of it's display type. 

Thanks in advance 
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 3 months ago #223545 by Joffm
Hi,
consider, what has to be fulfilled.
This you enter in "question validation equation".

Both (Q1_SQ01 and Q1_SQ02) must not be empty " !is_empty(...) "and 
Q1_SQ01 must be equal Q1_SQ02. " Q1_SQ01==Q2_SQ02 "

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: Tchumbura
The topic has been locked.
  • Tchumbura
  • Tchumbura's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 3 months ago #223547 by Tchumbura
Thank you
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose