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

  • GDISuperKids
    Asked on July 8, 2016 at 1: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.

  • BJoanna
    Replied on July 8, 2016 at 2: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. 

    How I can prevent two spaces are filled with the same name on the form? Image 1 Screenshot 30

    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. 

    How I can prevent two spaces are filled with the same name on the form? Image 2 Screenshot 41

    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. 

  • GDISuperKids
    Replied on July 8, 2016 at 2:48 PM

    Thank you so much thats perfect what I need

  • BJoanna
    Replied on July 8, 2016 at 2:54 PM

    You're welcome.

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