-
Notifications
You must be signed in to change notification settings - Fork 11
Description
When using the theme "Accent" (and possibly others) in wordpress, in conjunction with FormBuilder- there is a bug with the "Required Fields" function.
On line ~1089, where it adds the FormBuilderErrorSpace to $formDisplay. For some reason, Accent adds a in between "$formError" and "", which then causes problems with javascript, as it ignores the "".
For example- if you submit a form that has required fields not filled out, you get taken back to the same page with the errors for each field set out. If you then click inside the field, and back out again- the entire label and field disappear, due to the "" not being recognised.
My quick fix for this was to display the "$formError" inside a "
" rather than a "". I have no idea why Accent would parse this differently, but it seems to do the trick.