Willkommen, Gast
Benutzername: Passwort: Angemeldet bleiben:

THEMA: Check if Date greater than previous Selection

Check if Date greater than previous Selection 10 Monate 2 Wochen her #109410

  • jajas
  • jajass Avatar
  • OFFLINE
  • Junior Lime
  • Beiträge: 36
  • 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
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Check if Date greater than previous Selection 10 Monate 2 Wochen her #109415

  • jajas
  • jajass Avatar
  • OFFLINE
  • Junior Lime
  • Beiträge: 36
  • Karma: 0
Nobody can't help me :(
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Check if Date greater than previous Selection 10 Monate 2 Wochen her #109465

  • tpartner
  • tpartners Avatar
  • OFFLINE
  • LimeSurvey Team
  • Beiträge: 4690
  • Dank erhalten: 942
  • Karma: 409
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.
Letzte Änderung: 10 Monate 2 Wochen her von tpartner.
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Check if Date greater than previous Selection 5 Monate 5 Tage her #114443

  • jpw
  • jpws Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 15
  • Karma: 0
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
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Check if Date greater than previous Selection 5 Monate 5 Tage her #114445

  • tpartner
  • tpartners Avatar
  • OFFLINE
  • LimeSurvey Team
  • Beiträge: 4690
  • Dank erhalten: 942
  • Karma: 409
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.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Check if Date greater than previous Selection 5 Monate 5 Tage her #114446

  • jpw
  • jpws Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 15
  • Karma: 0
That explains it, I'm still on version 2.0. Looks like I need to upgrade, thanks!
Der Administrator hat öffentliche Schreibrechte deaktiviert.
Moderatoren: ITEd
Ladezeit der Seite: 0.150 Sekunden
Donation Image