If two phone fields equal the same disable submit button and/or show text field

  • conrad425
    Asked on October 12, 2017 at 10:53 AM

    Is there anyway to calculate if 2 phone fields equal the same to not allow the form to be submitted?  For example, a doctors office always has a separate line so I have a phone and a fax line, how can I disable/show text if both fields are the same ?

    Jotform Thread 1271535 Screenshot
  • TREVON
    Replied on October 12, 2017 at 1:27 PM

    It is possible to achieve the above but using some workarounds. First you will need to have those Phone Number filed to be only numeric. This way we will be able to compare the values of the two field elements. Once this is done we will create a conditional logic that will hide the submit button incase the values of the two fields are the same.

    Below is a link of your form which I cloned to test the above workaround. Kindly take note that I have used "Physician Phone" and "Physician Fax" to test the above.

    https://form.jotform.com/72845422066962

    Also below is an illustration of how I have setup the conditional logic

    1507829239Check two fileds if same Screenshot 10

    Feel free to clone the form.

  • conrad425
    Replied on October 12, 2017 at 1:41 PM

    thank you very much!