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 1 year 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 1 year 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 1 year ago #

    Will do! Thank You!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.