Create a box text with secret code to enter.

  • salovfreight
    Asked on June 30, 2016 at 12:23 PM

    Hi, it's possible to create a text box that can only accept some secret code, previously communicated through mail for each user?

     

    Thx

  • Charlie
    Replied on June 30, 2016 at 1:32 PM

    I am not entirely sure what you meant about that. But yes, you can create a hidden text box and simply prepopulate it via the URL parameter. Here's a guide about prepopulating URL: https://www.jotform.com/help/71-Prepopulating-Fields-to-Your-JotForm-via-URL-Parameters 

    You can also use conditional logic to show/hide different text boxes depending on some rules set: https://www.jotform.com/help/57-Smart-Forms-Using-Conditional-Logic 

    We could help you further, but we need to learn more how your process flow works. 

    I hope that helps.

  • salovfreight
    Replied on July 1, 2016 at 3:28 AM

    Hi, the text box shouldn't be hidden, but must accept only few numbers.

    The purpose of this is to create a box that check Unique Validation Code, previously assigned to each user.

    Every user must enter his own Code to fill the form, without the right Code isn't possible to complete the form.

    Just for example: 

    John as the Code 1234
    Will as the Code 2345
    Karl as the Code 3456

    The text box only accept this three Code.

    Thx

  • beril JotForm UI Developer
    Replied on July 1, 2016 at 5:38 AM

    Thank you for providing more information about your issue. Actually, it is possible with creating a condition.

    First of all, you can add the textbox fields as you see below:

    Create a box text with secret code to enter Screenshot 40

     

    After that, you can create conditions as you see below:

    Create a box text with secret code to enter Screenshot 51

    At that situation, it will work properly.

    Here is how it works n my side:

    Create a box text with secret code to enter Screenshot 62

    You can clone your demo form.

    https://form.jotform.com/61793279377977

     

    If you have any question or issues, please do not hesitate contacting us. We will be glad to assist you.