Disable fields grayed out

esskaykay

Registered User.
Local time
Today, 20:47
Joined
Mar 8, 2003
Messages
267
I have a form that opens with all but one field set as disabled (….enabled = false). This works fine for what I want, however, all fields are “grayed out”. I realize this is a function of each being disable, but was just wondering if there is a way to still display everything normal (i.e., not grayed out) but not allow any revision? I tried setting the form as “read only” but one filed must be updated, therefore it bombed.

Any suggestions?

Thanks,
SKK
 
If you also lock it, the normal look should return. Sort of like wearing a belt and suspenders, but it should get the look you want. You could also just lock it, which would allow focus but prevent changes.
 
setting work as follows

enabled locked

true false normal editable field
true true can enter, eg to use for filtering/sorting, but not edit
false true cannot interacrt with, but looks normal
false false cannot interact with, and grayed out
 
Ahhh, I like my belt and suspenders....
Better yet -- after testing, all I needed was the "locked".

Thanks again,
SKK
 
Last edited:

Users who are viewing this thread

Back
Top Bottom