I'm venturing into more complex forms now and I'm running into trouble.
Consider this DateTimeField definition in a template:
<tr>
<th>{{ form_label(userform.dob) }}</th>
<td>{{ form_field(userform.dob) }} {{
form_errors(userform.dob) }}</td>
</tr>
When I chose an invalid date I get no error displayed for the field yet
after wondering why I see no errors yet isValid() yields false I ventured
into the Form code an found that this field was indeed seen as invalid (and
rightly so). Is this a bug or do I need to handle errors in more complex
fields differently?
Regards,
Dennis
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en