- Posts: 40
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Check if Date greater than previous Selection
- jajas
- Topic Author
- Offline
- Senior Member
Less
More
9 years 10 months ago #109410
by jajas
Check if Date greater than previous Selection was created by jajas
Dear LS Team,
I have 2 questionn:
Q1. When you buy your new House? [ANSWER IS CHOOSE MONTH AND YEAR]
ANSWER: 2013 OF JUNE [DATE FORMAT]
Q2. When you move to your new house? [ANSWER IS MONTH AND YEAR]
[valid answer in Q2 cannot less than Answer in Q1, so if responden choose date less of 2013 of June will rise alert message]
How to make date validation like question above in lime survey?
Need help
Thanks & Regards,
JajaS
I have 2 questionn:
Q1. When you buy your new House? [ANSWER IS CHOOSE MONTH AND YEAR]
ANSWER: 2013 OF JUNE [DATE FORMAT]
Q2. When you move to your new house? [ANSWER IS MONTH AND YEAR]
[valid answer in Q2 cannot less than Answer in Q1, so if responden choose date less of 2013 of June will rise alert message]
How to make date validation like question above in lime survey?
Need help
Thanks & Regards,
JajaS
The topic has been locked.
- jajas
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 40
- Thank you received: 0
9 years 10 months ago #109415
by jajas
Replied by jajas on topic Check if Date greater than previous Selection
Nobody can't help me
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10103
- Thank you received: 3591
9 years 10 months ago - 9 years 10 months ago #109465
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Check if Date greater than previous Selection
Assuming the first question code is "date1", this seems to work as the question validation equation for a normal date question:
.
Code:
this >= date1
.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Attachments:
Last edit: 9 years 10 months ago by tpartner.
The topic has been locked.
- jpw
- Offline
- New Member
Less
More
- Posts: 15
- Thank you received: 0
9 years 5 months ago #114443
by jpw
Replied by jpw on topic Check if Date greater than previous Selection
tpartner
What question type are you using for this validation equation? I don't see a Question validation equation for the Date/Time question type
What question type are you using for this validation equation? I don't see a Question validation equation for the Date/Time question type
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10103
- Thank you received: 3591
9 years 5 months ago #114445
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Check if Date greater than previous Selection
Date question type. LS version 2.05.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- jpw
- Offline
- New Member
Less
More
- Posts: 15
- Thank you received: 0
9 years 5 months ago #114446
by jpw
Replied by jpw on topic Check if Date greater than previous Selection
That explains it, I'm still on version 2.0. Looks like I need to upgrade, thanks!
The topic has been locked.