Posted by 4toddt on December 26, 2012 at 8:30pm
http://www.ttownsend.com/node/116
If I submit the form without completing a required field, the form reloads with the required field missing. I don't see an error message, and I can't fill in the missing field. Any ideas?
Comments
Its all css problem, for
Its all css problem, for example : i have inspect your form after submitting and find the 'messages error' class which has display:none. When i change to display:block, it shows a proper error message
which are :
Name field is required.Contact Options field is required.
Message field is required.
So re-check you css and tpls.
Thanks. I hadn't noticed
Thanks. I hadn't noticed that. I haven't modified any webform tpls, and the display attribute is not coming from a stylesheet. It is right in the tag.
<div class="messages error" style="display: none;">Not only is it hiding messages, it is also hiding any fields that had errors on submission.
<input id="edit-submitted-name" class="form-text required error" type="text" maxlength="128" size="60" value="" name="submitted[name]" style="display: none;">