Cool Feature - Input Enabled
OK, I just found a cool feature. Now this may have been around for a while and I just wasn't aware of it
. But one of the Events of a field is called "Input Enabled". Here you can put a formula that evaluates to "0" (False) or "1" (True). If the value evaluates out to "0" then an end user will not be allowed to change the value of the field. In the past I just made it "appear" that the field wasn't editable or I hid it and showed a computed for display field instead or whatever means I could think of to hide the fact that it was still editable. While this worked it wasn't very elegant.
Now, if you look at the help file on "Input Enabled" you will notice that it says this event is for an "Native OS Style" field and doesn't mention any other "style" of field. Well, it works on any style field, not just "Native OS Style". With a Native OS Style field it actually greys out the field, but with a Notes style field you just can't change the value. This is cool ![]()











Comments
Posted by mdmadph At 04:51:31 PM On 04/04/2008 | - Website - |
see following posts on the "We love Notes, but …" blog for a critical examination and its implementation:
Input enabled.
{ Link }
Input enable replay
{ Link }
Thomas
Posted by Thomas Bahn At 02:14:57 PM On 04/09/2008 | - Website - |