WordPress.org

Ready to get started?Download WordPress

Forums

Visual Form Builder
Validation issue (5 posts)

  1. conflit-rgp
    Member
    Posted 2 years ago #

    I am getting an error message on one of three of my forms on the website I am coding. It is an issue with the validation numbers.

    This is the message I get once I press submit "Not a valid digit. Please enter a number without a decimal point"

    I am not entering a decimal, and I am only entering two digits. Any suggestions?

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

  2. conflit-rgp
    Member
    Posted 2 years ago #

    By the way the site is styletrader.biz if you'd like to visit it.

    This is the specific form that is acting up:
    http://www.styletrader.biz/email-signup/

    The other two are located on the join our team page, and contact us page, both of which are working just fine.

  3. conflit-rgp
    Member
    Posted 2 years ago #

    I actually figured out what the problem. It is something with the "Number" field.

    Any form I had it in was conflicting with the validation. I have just removed the number field and used a text field instead, and set that field to only validate numbers.

    Please let me know when the :Numbers field has been fixed.

  4. Matthew Muro
    Visual Form Builder Pro
    Plugin Author

    Posted 2 years ago #

    Check the newest version, which adds a fix for server-side number validation, and let me know if you are still experiencing problems.

  5. conflit-rgp
    Member
    Posted 2 years ago #

    Thanks Matt. That seemed to fix my problem. Could you help me figuring out something. Is there a way to set a specified number or characters needed to validate the number field?

    I want to use the "Number" field to collect ZIP codes. But the "Number" field accepts any number of characters as long as it is a #.

    Would that be a rule I write in the my-js.js file?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic