Date of birth format not valid

4 years 4 months ago #89037 by dgrimard

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!

Please Log in to join the conversation.

4 years 4 months ago #89089 by tpartner
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.

Please Log in to join the conversation.