You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: