WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Bug with the Social Security Field

[Resolved] Bug with the Social Security Field

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Matthew Muro

    @mmuro

    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.

    Will do! Thank You!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Bug with the Social Security Field’ is closed to new replies.