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

  • Profile Image
    GDISuperKids
    Asked 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.

  • Profile Image
    BJoanna
    Answered 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
    GDISuperKids
    Answered on July 08, 2016 at 02:48 PM

    Thank you so much thats perfect what I need

  • Profile Image
    BJoanna
    Answered on July 08, 2016 at 02:54 PM

    You're welcome.

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