Specific validation/conditions for the "multiple short text" question

More
3 years 7 months ago - 3 years 7 months ago #101838 by sanjayrdesai
sanjayrdesai created the topic: Specific validation/conditions for the "multiple short text" question
I am running the Limesurvey 2.00+ version with the latest updates.

I want to design a question which would look something like this:

" Please provide the following information about yourself:

Name:
Surname (if any):
Mobile:
Email Address:
Re-confirm Email Address: "

I would like all of these to come on one page. I am attempting this using the multiple short text question type but fail to understand how to do the following:
1. Restrict the mobile sub-question answer only with three conditions: (a) Only numbers (b) Only 10 Characters (c) A validation expression. If the three conditions are satisfied only then will the respondent be permitted to proceed. ; AND
2. Validate the Email Address sub-question answer only with the expression: /^(\w[-._+\w]*\w@\w[-._\w]*\w\.\w3)$/
3. The Re-confirm Email Address sub-question is to validate the earlier entered answer and therefore also must apply the same expression. Only if the two match then will the respondent be permitted to proceed.

Finally, I would also like the Question Validation Tip that would have to be entered.
Last Edit: 3 years 7 months ago by sanjayrdesai. Reason: forgot to mention version

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now