How can we show an error and prevent submission of a value previously submitted on the same form?

  • williwonka
    Asked on March 30, 2016 at 10:13 AM

    Good Morning.

    My name is jose, want to know if you can limit a space on the form,

    I am creating a database, with personal identification numbers.

    What I want is if I do that when I enter a repeated number out an error.

  • KadeJM
    Replied on March 30, 2016 at 12:18 PM

    Do you mean that you want to error out and prevent an identification value from being reused?

    So for instance if Bob chose personal id # 1040 then Joanna would have to pick anything except that number otherwise it'd show an error message.

    Is that what you mean maybe?

  • williwonka
    Replied on March 30, 2016 at 1:45 PM
    I want created a formularie, in i can created a dats base. When I enter the number 2 enbie keep it and if I write again leave me an error when saving
    Enviado desde mi teléfono inteligente Sony Xperia™
    ---- JotForm escribió ----
    New response received
    A new response has been received:
    Answered by
    KadeJM
    Do you mean that you want to error out and prevent an identification value from being reused?
    So for instance if Bob chose personal id # 1040 then Joanna would have to pick anything except that number otherwise it'd show an error message? Is that what you mean maybe?
    View this thread on browser »
    Unsubscribe Thread
    1459354703
    ...
  • Ben
    Replied on March 30, 2016 at 3:32 PM

    The only way to do that would be to set your form with the unique question form limit.

    You can see more about it here: How to set Form Limits Based on a Unique Question

    Basically it would show an error when someone enters the same value that was already submitted.

    Do note hover Jose that this will not check your own database, but would instead check records on JotForm side in order to confirm if the same should be used or not.

    If you however wish that everyone has its unique ID that follows a specific format it might be easier if you use a widget such as Unique ID