Closed (fixed)
Project:
Webform
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Nov 2007 at 22:22 UTC
Updated:
1 Feb 2008 at 03:14 UTC
If a date field is mandatory but the user doesn't provide a date, the form will be reloaded upon submit but no error message will be given to the user. The call to form_set_error() has omitted the $component_key parameter, and so the form error is not properly set.
After applying this patch, the user will see an appropriate error message when attempting to submit a form with a mandatory date field that is not filled in.
| Comment | File | Size | Author |
|---|---|---|---|
| date-validate.patch | 530 bytes | atipton |
Comments
Comment #1
quicksketchThanks! Committed.
Comment #2
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.