I've created a form at www.ttownsend.com/contact. If I leave a required field blank on submission, the form reloads without that field. I am not even getting an error message. Both the error message and the field are being output in the HTML, but they have style="display: none;" added inside their tags. Any help would be greatly appreciated.

Comments

quicksketch’s picture

It looks like there must be some additional conflicting JavaScript on your site. When disabling JavaScript, the error messages (and fields) display properly. Webform won't ever hide the messages area (or individual fields, it only hides wrappers around both label and field).

Upon further digging, it looks like the root of your problems is the "contact-form.js" file in your theme, which is doing a lot of duplicative functionality as Webform's built-in conditional system.

4toddt’s picture

Thanks. I never would have found that myself.

4toddt’s picture

Status: Active » Closed (fixed)