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

    How I can prevent two spaces are filled with the same name on the form?

    Asked by GDISuperKids on July 08, 2016 at 01:20 PM

    I have a registration form that I made but I will not allow the name of the mother or father is the same as the guardian of the child. Is there any way to prevent two fields are filled with the same name? Thank you very much for the answers.

    Page URL:
    https://form.jotformz.com/61885391962671

    name same how filled
  • Profile Image
    JotForm Support

    Answered by BJoanna on July 08, 2016 at 02:28 PM

    If I understood you correctly you want to prevent that same name is entered inside of two fields. This is possible to achieve, however I am not sure to which fields on your form you want to apply this, so i will make demo form to show you how this can be done. 

    To make this possible you will need to use Text box fields.

    Then you can add one additional text field where you will write warning message to your users that same name can not be entered in both name fields. 

    Then you need to set condition inside of your form to show warning message and to hide Submit button if same name was entered twice. 

    https://www.jotform.com/help/57-Smart-Forms-Using-Conditional-Logic 

    https://www.jotform.com/help/316-How-to-Show-or-Hide-Fields-Base-on-User-s-Answer 

    Here is my demo form: https://form.jotform.com/61895513594972 

    Feel free to test it and clone it.

    Hope this will help. Let us know if you need further assistance. 

  • Profile Image

    Answered by GDISuperKids on July 08, 2016 at 02:48 PM

    Thank you so much thats perfect what I need

  • Profile Image
    JotForm Support

    Answered by BJoanna on July 08, 2016 at 02:54 PM

    You're welcome.

    Feel free to contact us if you have any other questions.