How can I make it so the user can only add the last 4 digits of a socia

  • Profile Image
    coralsprings954
    Asked on October 05, 2018 at 04:10 PM

    How can I make it so the user can only add the last 4 digits of a social security number?

    Example:

    The users social security number is:

    123-45-6789

    The field should look like this:

    ###-##-_ _ _ _

    When they type in the last 4 digits only, numbers on the screen turns into a # but in the email you can see the last 4 digits.

    Is this possible?



    This is a re-post of a comment on Getting Started with the Basics of Input Masking

  • Profile Image
    Jed_C
    Answered on October 05, 2018 at 09:54 PM

    Use a character that is not #, @ or *. In my example below, I used the "X" character as the masked input so user will just need to input the last four digit of their SSN.

    1538790775The Easiest Online Form Builde

    I hope this helps. Let us know if you have any questions or if you need further assistance.