Looks like the validation function is not called. The aim is to have multiple checkboxes with dates/times to include available times for a tennis course and the validation requires a minimum number of boxes to be checked. Even when I just return "false" within the function (without checking something) it will still validate.
By the way any suggestions on how to validate the array in order to have a min. of 3 checked boxes?
The template (inschrijvingForm)
<td><input name="date[]" type="checkbox" id="date[]" value="19/1" eform="Datums::1:Te weinig beschikbare datums opgegeven:#FUNCTION checkDates" /></td>
<td><input name="date[]" type="checkbox" id="date[]" value="20/1" /></td>
<td><input name="date[]" type="checkbox" id="date[]" value="21/1" /></td>
<td><input name="date[]" type="checkbox" id="date[]" value="22/1" /></td>
<td><input name="date[]" type="checkbox" id="date[]" value="23/1" /></td>
<td><input name="date[]" type="checkbox" id="date[]" value="24/1" /></td>
<td><input name="date[]" type="checkbox" id="date[]" value="25/1" /></td>
<td><input name="date[]" type="checkbox" id="date[]" value="26/1" /></td>
The call:
[!eFormFunctions!]
[!eForm? &formid=`inschrijving` &subject=`Inschrijving jeugdkamp` &from=`email`&to=`@hotmail.com` &ccsender=`1` &tpl=`inschrijvingForm` &report=`inschrijvingFormReport`&debug=`1` !]