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

  1. supawiz6991
    Posted 3 years 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.


  2. Matthew Muro
    Plugin Author

    Posted 3 years 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
    Posted 3 years ago #

    Will do! Thank You!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Visual Form Builder
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.