Is there a way in Forms to prevent two Fields from having the same value? For example, the Field “Authorized by” cannot have the same value as the field “Verified by”.
Any ideas on how to address this are appreciated.
Is there a way in Forms to prevent two Fields from having the same value? For example, the Field “Authorized by” cannot have the same value as the field “Verified by”.
Any ideas on how to address this are appreciated.
There's a sample code in the Laserfiche Forms help files that shows you how to create an email confirmation field, which is the opposite of what you want. I'm sure you can tweak the code slightly so that it gives you an error when the same value is typed.
I think you can do it by using java script by comparing the 2 fields
That is what I was thinking as well. Does anyone have any sample java script that would do this?
Thanks Cathy.
I did use that and it worked well for a text box. Do you know of any examples for a drop down? One example would be if the value was already selected in drop down 1 it would just prompt in drop down 2 that it cannot be selected again. The second example would be if the value was selected in drop down 1 that same value would be removed from drop down 2.
Any suggestions?