Forums

Visual Form Builder
[resolved] javascript validation (4 posts)

  1. vlal
    Member
    Posted 1 year ago #

    I tried typing a classic javascript code inside a textarea,
    the one that makes a popup apear to whomever would open the submitted form.
    Although the script code was striped out from the textarea, whenever I
    clicked on the submitted form to view its contents, the popup would execute. Is there a way to strip out/validate correctly javascript code?
    I want this form to be available to everyone and if javascript executes, it's a high security risk

    Thank you

    http://wordpress.org/extend/plugins/visual-form-builder/

  2. Matthew Muro
    Visual Form Builder Pro
    Plugin Author

    Posted 1 year ago #

    Why in the world are you doing this?

    If you need to have a JavaScript popup, don't try embedding it in the form. Use an external file for this.

  3. vlal
    Member
    Posted 1 year ago #

    I'm not trying to embed javascript in the form. I'm testing the form to see if it safe for my server. Is there a way to strip-out javascript code?

  4. Matthew Muro
    Visual Form Builder Pro
    Plugin Author

    Posted 1 year ago #

    All data is escaped when it's inserted in the database.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic