- Posts: 166
- Thank you received: 26
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Simple numeric validation needed
- davebostockgmail
- Topic Author
- Offline
- Elite Member
Less
More
4 years 1 month ago #195777
by davebostockgmail
Simple numeric validation needed was created by davebostockgmail
I don't know why I do not know this but my brain has had a complete meltdown.
Can someone please point me in the right direction for validation of a multiple numeric question where there are months and years needed
Q1_Months (0-11)
Q1_Years (0-40)
No matter what I have tried it doesn't seem to do this correctly.
V3.22.7
Thanks in advance
Dave
Can someone please point me in the right direction for validation of a multiple numeric question where there are months and years needed
Q1_Months (0-11)
Q1_Years (0-40)
No matter what I have tried it doesn't seem to do this correctly.
V3.22.7
Thanks in advance
Dave
The topic has been locked.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12940
- Thank you received: 3979
4 years 1 month ago #195780
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Simple numeric validation needed
I should say:
Exactly as you described it:
A min value of "0".
And the validation equation: (Q1_months<12 and Q1_years<41)
And a validation tip like: {if(Q1_months>11,"Please months in (0..11)",if(Q1_years>40,"Please years in (0..40)",""))} or whatever you like.
Joffm
Exactly as you described it:
A min value of "0".
And the validation equation: (Q1_months<12 and Q1_years<41)
And a validation tip like: {if(Q1_months>11,"Please months in (0..11)",if(Q1_years>40,"Please years in (0..40)",""))} or whatever you like.
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Attachments:
The topic has been locked.
- davebostockgmail
- Topic Author
- Offline
- Elite Member
Less
More
- Posts: 166
- Thank you received: 26
4 years 1 month ago #195782
by davebostockgmail
Replied by davebostockgmail on topic Simple numeric validation needed
Thanks so much Joffm .. like I said ... brain freeze moment.
Dave
Dave
The topic has been locked.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12940
- Thank you received: 3979
4 years 1 month ago #195783
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Simple numeric validation needed
I experienced this many times myself.
Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.