Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Date validation or datepicker in a text array question for LS 3.x

  • lemmon
  • lemmon's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 1 month ago #180263 by lemmon
My survey has a question with a text array where the first column (x-axis subquestion) is supposed to be a date. Ideally, I would like to have a date picker for each cell in my date column. Unfortunately, none of the code examples I could find in this forum to modify the cell behavior work with LS 3.x. Second best would be a regexMatch for something like this:

([12]\d{3}-(0[1-9]|1[0-2])-(0[1-9]|[12]\d|3[01]))


Here again, I spent hours looking at various topics on similar subjects without finding a solution. I would very much appreciate some help on this (either datepicker or validation).

Example attached:

File Attachment:

File Name: limesurvey...6155.lss
File Size:24 KB


Many thanks in advance.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose