Please help us help you and fill where relevant:
Your LimeSurvey version: 3.28.52
Own server or LimeSurvey hosting:
Survey theme/template:
==================
Hello,
I have a date/time question with format dd-mm-yyyy HH:MM A
The questionnaire has two languages (French and English).
Whenever I try to select a PM time after 12 (ex: 12-08-2023 14:30 PM)
I get an error message and cannot move to the next page: "Date 12-08-2023 14:30 PM is invalid, please review your answer."
I'm unsure where the issue is coming from? Thanks in advance for the help.
I've changed the code so that certain dates cannot be chosen:
Code:
<script type="text/javascript" charset="utf-8">
$(document).ready(function(){
// Disable specific days
$('#answer{SGQ}_datetimepicker').data('DateTimePicker').disabledDates(['05-08-2023','09-08-2023', '25-08-2023', '26-08-2023', '27-08-2023', '28-08-2023', '02-10-2023', '24-12-2023', '25-12-2023']);
})
</script>