[desc]: I seem to have a problem with the date-picker field or the date field itself.
The acts as mandatory by default even though the check box 'mandatory' is not checked. and triggers an error message if not filled in.
In this case i would appriciate if i could turn off the mandatory feature for the two date fields i'm using since they are not mandatory.
Otherwise i would have to create two different forms, but i'd rather have it work as is.
A secondary problem is to get the check boxes arranged at the end of the form, that seems not to be possible, maybe i just don't get it.... too many element
You're using regexp for validation, that's what makes the fields required! If you erase your default text in the date fields, then it would validate the empty (since you correctly did not flag is as mandatory) field.
My suggestion:
try the auto clean flag, to see if that would resolve the issue of "dd/mm/yyyy" being interpreted as user input
or remove the regexp and keep "dd/mm/yyyy" as the default
or delete the default value and e.g. add "dd/mm/yyyy" as a title
I copied the field as is from your booking template, so you might think about changing it there otherwise i fear you might have to answer this question more often. :-)
Your suggestions:
try the auto clean flag, to see if that would resolve the issue of "dd/mm/yyyy" being interpreted as user input
or remove the regexp and keep "dd/mm/yyyy" as the default
or delete the default value and e.g. add "dd/mm/yyyy" as a title
1. Dosn't do it. = 'Please enter the required fields'
2. Was the right choice!! It works both ways now
3. doesn't do it. = 'Please enter the required fields'