Skip to content

Bug when using "Accent" theme and FormBuilder #38

@warkior

Description

@warkior

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions