What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    Can I assign different sets of numbers to the same input mask box?

    Asked by TinkAbells on July 25, 2014 at 10:21 AM

    Sorry, but I a new to this. I want to know if I can have different discount codes using this input mask box and if it will only accept the right number being put in? When I tested it, and hovered over the field, it actually showed the discount code, which I don't actually want displayed, but want a specific number to be recognised off a voucher. What is the best way to do this. They are six digit codes. Thanks in advance.

    different input mask same mask
  • Profile Image

    Answered by Carina on July 25, 2014 at 11:26 AM

    Is this the form?

    If so there are two ways.

    One is that you add a Purchase Order field, under Payment Tools:

    And then defining coupon codes

    If you do not wish to use the Purchase Order field you can add conditions and define in the conditions which are the accepted codes:

    And define which action happens if these codes are selected. One option is that submit button is displayed if these codes are inserted. But as some people perhaps don't have a discount code, it is better to define a default value:

    And then adding a condition that also shows the submit button if this value (the default one is displayed), as shown above.

    You can test and clone the form if you wish:

    http://form.jotformpro.com/form/42054251664955 

    Let us know if we can be of assistance.
    Thank you