Hosted By

Subscribe to keithstric.com

Misc Links

Domino 7 OpenNTF BlogSphere CoComment Custom Button

Lotus Notes Blog Search

OpenNTF

Disclaimer

The opinions and ideas posted on keithstric.com are not necessarily the opinions and ideas of my employer. The solutions, techniques and code provided here are not guaranteed or warranted in any way and are free for you to use at your own risk.

« FeedDemon Weirdness | Main| Rambling on... »

Cool Feature - Input Enabled

Bookmark : del.icio.us  Technorati  Digg This  Add To Furl  Add To YahooMyWeb  Add To Reddit  Add To NewsVine 

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

Gravatar Image1 - Cool find -- like "outputFormat=JSON", I'm sure this is just one of those incredibly useful features that is never really promoted.

Gravatar Image2 - Hi Keith,

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

Post A Comment

:-D:-o:-p:-(:-):-\:-|:angry::cool::cry::dontknow::emb::hairout::laugh::rolleyes::whew:;-)