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

Question

Question

Forms dropdown - prevent users from choosing another value

asked on August 21, 2018

In one of my form, I have setup users to select one item in two dropdown fields and when they go up to a certain point in the form, I want to set these dropdown values to ReadOnly to be sure they don't go back and change them.

I have used the following line in the Javascript section:

$("#Field20").attr("readonly", true);

This does change the field to become grayed out but this still allow users to change the dropdown value. 

How can I change the dropdown property to prevent users from selecting another item?

 

0 0

Answer

SELECTED ANSWER
replied on August 21, 2018

I found it...

$("#Field20").attr("disabled", "disabled");

2 0

Replies

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

Sign in to reply to this post.