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

Question

Question

Show error message when user has chosen the same value more than once from a drop down list

asked on September 1, 2017

Hello,

I am relatively new to LF. I would like to be able to show an alert/error message if a user chooses the same value more than once from a drop-down list. The drop-down list is generated dynamically depending on the user's employee ID as entered into the form. The user can choose up to five values from the list, so a duplication could happen at any of the five points. I'm thinking that this would need to be done via a javascript that looks at matching strings?

Here is an example from a form:

Here is the current code (though missing the 5th date choice):

Thank you for your help.

 

0 0

Replies

replied on September 1, 2017

Try this post, it has information about creating custom validation for something very similar to what you are trying to accomplish.

0 0
replied on September 1, 2017

I did see this, and I understand it in context. But my scripting skills are minimal at this point so I need help translating this into what I want. Thanks.

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

Sign in to reply to this post.