Creating input masking for email with leading zero

  • Profile Image
    Asked on July 17, 2017 at 03:13 AM


    I want to be able to automatically generate an email upon my users keying in a 4-digit number (our store number). The store numbers come with 4-digits, including leading zeros (e.g 0123)

    This is an example of a store email, if store number is 0123, the email would be

    I want the user to key in 0123, then another read-only output text field generates

    Currently, I am using conditional formatting to combine two fields; the store number field (e.g 0123) together with a hidden field of just 

    Because of the leading zero, I had to put a input mask, I could not get the masking for the output text field to put the '@' from emails as the @ is the mask for letters and it confuses the configuration.

    Please advise

  • Profile Image
    Answered on July 17, 2017 at 04:51 AM

     Maybe it would work better if you would use Form calculations widget:

    And here is the calculation I did:

    That will work fine:

    If you need further you could copy the value from that field to another one.

    Here is my test form:

    Please check and let us know how it worked.

    Thank you!

  • Profile Image
    Answered on July 17, 2017 at 09:23 PM

    Perfect, thank you Nik!