• Resolved i4nd90

    (@i4nd90)


    Hi there

    Firstly – thanks for an awesome plugin.

    I think I have found a bug though. When there is a field where validation is not inline (such as ReCaptcha) and the form is validated *with errors* upon submission, the values are then shown in the form with stripslashes() (or WP function equivalent – I’ve not looked at the source code) applied.

    Also, a slightly related issue I’m having is that the user is not scrolled to the success/error message on submission as I am locating my form shortcode underneath my display shortcode. Is there an action I can hook into to do this manually?

    Cheers

    Ian

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Chris Dillon

    (@cdillon27)

    Thanks, Ian.

    This is fixed in version 2.13. I also added two new options under Form Actions on the Form settings tab for scrolling to the success message and to the first error. You may need to clear your browser cache to pick up the Javascript changes.

    Thread Starter i4nd90

    (@i4nd90)

    Perfect, both work great, thanks very much Chris.

    One minor issue that you may want to fix in a future release is that because you’re only using stripslashes_deep() if there are errors, when an email is being sent containing the users content, this text is escaped.

    Ian

    Plugin Contributor Chris Dillon

    (@cdillon27)

    Thanks for the tip. I’ll keep that in mind.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Incorrectly escaped’ is closed to new replies.