Welcome, Guest
Username: Password: Remember me

TOPIC: Date of birth format not valid

Date of birth format not valid 3 years 5 days ago #89037

  • dgrimard
  • dgrimard's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 6
  • Karma: 0

I'm currently working on a questionnaire on the 2.00 version.

I have dates of birth for families I want to put the in the month-year format and the scroll-down version. But when I test it it always says that the date is not valid. A problem I don't have when its dd mm yyy or just the year.

Is there a way to force the mm yyyy format???

Thanks for your help!
The administrator has disabled public write access.

Date of birth format not valid 3 years 4 days ago #89089

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5272
  • Thank you received: 1100
  • Karma: 458
This appears to be a bug.

Please file a bug report and...

1. Give as much information as possible.

2. Provide step-by-step instructions how to reproduce the problem.

3. Provide screenshots and a sample survey.

4. Post the link to the bug here so we can follow the progress.

In the meantime, you can work around the problem by using the "dd mm yyyy" format and add the following script to the question source. This will select the day = 01 option and hide the day dropdown.
<script type="text/javascript" charset="utf-8">
			$('.day option[value="01"]', this).attr('selected', 'selected');
			$('.day', this).hide();
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.
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.155 seconds