Welcome, Guest
Username: Password: Remember me

TOPIC: Check if Date greater than previous Selection

Check if Date greater than previous Selection 2 months 3 weeks ago #109410

  • jajas
  • jajas's Avatar
  • OFFLINE
  • Junior Lime
  • Posts: 32
  • Karma: 0
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
The administrator has disabled public write access.

Check if Date greater than previous Selection 2 months 3 weeks ago #109415

  • jajas
  • jajas's Avatar
  • OFFLINE
  • Junior Lime
  • Posts: 32
  • Karma: 0
Nobody can't help me :(
The administrator has disabled public write access.

Check if Date greater than previous Selection 2 months 3 weeks ago #109465

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4120
  • Thank you received: 760
  • Karma: 346
Assuming the first question code is "date1", this seems to work as the question validation equation for a normal date question:
this >= date1

Capture2.jpg


.
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
Last Edit: 2 months 3 weeks ago by tpartner.
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.107 seconds
Donation Image