User is able to enter data into a drop down field in a form. Can we prevent this?
search cancel

User is able to enter data into a drop down field in a form. Can we prevent this?

book

Article ID: 12516

calendar_today

Updated On:

Products

CA Service Catalog CA Service Management - Asset Portfolio Management CA Service Management - Service Desk Manager

Issue/Introduction



When a Service Catalog form contains a dropdown field, a user can type data into this field. How can we prevent users from entering information into these fields?

Environment

Service Catalog 17.x

Resolution

There is no way of preventing users from entering data into a drop down field, but when the user submits the form, the contents of the drop down field will be validated against the list of possible values and it will give an error if it doesn't match. This means that even though the user can enter whatever data they want to, the form will not be submitted until the contents matches one of the available options.