You are viewing limited content. For full access, please sign in.

Question

Question

Form Field Values Cannot be the Same

asked on February 9, 2015

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.

0 0

Replies

replied on February 11, 2015

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.

1 0
replied on February 9, 2015

I think you can do it by using java script by comparing the 2 fields

0 0
replied on February 10, 2015

That is what I was thinking as well. Does anyone have any sample java script that would do this?

0 0
replied on February 12, 2015

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?

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.