Is there a function to set a picklist field on a page to read-only? I have put a default value for the pick list with a script component on the page.
The script below disables the whole field with the right value, but does not store it into the database.
document.theForm.theField.disabled = 'disabled';
That's how HTML works: disabled controls do not send values upon form submit.
With the default Rollbae read-only option, we can not edit the value with the script component on the page. We can add an read-only event for other field types, such as text fields, that works fine. Any idea how to lock pickup lists?