Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug when using "Accent" theme and FormBuilder #38

Open
warkior opened this issue Apr 2, 2012 · 0 comments
Open

Bug when using "Accent" theme and FormBuilder #38

warkior opened this issue Apr 2, 2012 · 0 comments

Comments

@warkior
Copy link
Member

warkior commented Apr 2, 2012

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.

@ghost ghost assigned warkior Apr 2, 2012
@warkior warkior removed their assignment Aug 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant