WordPress.org

Ready to get started?Download WordPress

Forums

Visual Form Builder
[resolved] Bug with the Social Security Field (3 posts)

  1. supawiz6991
    Member
    Posted 11 months ago #

    I discovered that when putting a social security number in the Social Security Field if the SS Number starts with a zero its omitted in both the email and logged version.

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

  2. Matthew Muro
    Visual Form Builder Pro
    Plugin Author

    Posted 11 months ago #

    I assume you are talking about a Number field because there is no SSN field.

    The Number field is sanitized using floatval. Leading zeros are not valid in and useless in math, which is why it's stripped out from the beginning when ran through this function.

    If you need leading zeroes, I suggest using a Text field with Number validation.

  3. supawiz6991
    Member
    Posted 11 months ago #

    Will do! Thank You!

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.