- conrad425Asked 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 SupportTREVONAnswered on October 12, 2017 at 01: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.
Also below is an illustration of how I have setup the conditional logic
Feel free to clone the form.
- conrad425Answered on October 12, 2017 at 01:41 PM
thank you very much!