Set picklist to readOnly with a default value

Posted by Rollbase User on 26-Jan-2013 19:06

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';

All Replies

Posted by Admin on 26-Jan-2013 20:10

That's how HTML works: disabled controls do not send values upon form submit.

Posted by Admin on 27-Jan-2013 03:02

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?

This thread is closed