I need to check if the user is writing his discord TAG correctly.

  • Mario Scholarship
    Asked on December 27, 2021 at 11:37 AM

    I need to check if the user is writing his discord TAG correctly.
    How can I do using the mask?

  • Christopher JotForm Support
    Replied on December 27, 2021 at 12:29 PM

    A 'Discord tag' is the combination of a username and a discriminator. We are unable to verify if user is TAG is correct by using a single Short Text field since username can be composed of 1 - 32 characters. In order to somewhat verify the Discord tag, you should be using 2 Short Text field. One is for the username while the second is for the discriminator which is a minimum and maximum of 4 numbers. Afterwards you will setup a Conditional Logic that will combine username and discriminator as shown below.

    1640625894 61c9f6e6675ad  Screenshot 10

    The result should look like this.

    1640626144 61c9f7e08601e  Screenshot 21

    Here is a link to the sample form: https://form.jotform.com/213604450332040

    Please refer to the guides provided on how to clone a form and use conditional logic.

    Guides:
    How to Clone an Existing Form From a URL
    Smart Forms: Conditional Logic for Online Forms