Search DominoPower's 11,429 Lotus-related article archive 
Home
EasyPrint
News details Click here for the RSS feed's XML code. This is not a browser URL.
Articles-only Click here for the RSS feed's XML code. This is not a browser URL.
Twitter Feed Click here for the Twitter feed.
How hide-whens in Rich Text can ruin your whole day (and what to do about it) (continued)

Secondly, on the form, at the place where the field is required, insert the subform as a computed subform, using as the computed formula something close to negation of the hide-when formula. The hide-when says "Hide this text when the formula is true", and the computed subform says "Include here the subform called xxx when the formula is true".

Note that the computed subform formula should return either the subform name or "". Make sure that where the subform is to appear on the form, there is no hide-when formula. Don't hide the subform with a hide-when. Just use a computed subform formula.

Then, the whole Rich Text field will appear, or not, as the subform appears, or not, and the data itself won't get contaminated with hide-when content that you don't expect.

How it works in Notes 8.5
I'll tell you now, that using Notes 8.5, the second scenario -- Dave pasting text from another application with hide-when data in it -- is a good deal less likely to happen. If you paste Rich Text containing a hide-when with 8.5 (and maybe some earlier clients, too), the hide-when formula is retained, but, crucially, the check "Hide paragraph if formula is true" is turned off.

It's even turned off if the text is copied and pasted inside the same Rich Text field.

And if you use the new-in-8.5 text drag-and-drop, not only does the "Hide paragraph" check get turned off, but the formula text goes away as well.

Not that this should make you think that it's safe to hide Rich Text fields with hide-when formulas. It's not.

Consider the first scenario where Eric pastes text -- even if that paste is from the same Notes field, it won't have any hide-when data on it, and Janice will still be able to see it.

Victor Woodward is vice-president of Content Technologies, Inc., a content security company in Kirkland, WA. His web address is http://www.mimesweeper.com, and you can reach him by email at victor@us.mimesweeper.com.


« Previous  ·  1  ·  2  ·  3
Other articles you might like
Home > Lotus Technologies > Notes (84 articles)
   A walk down Memory Lane with Lotus Notes
   An application for scanning physical mail and distributing it virtually
   Managing Notes deployments with Teamstudio Build Manager
Home > Tips & Techniques (102 articles)
   More about Domino log files
   Why your log.nsf might not be purging properly
   A faster way to repair corrupted server files
Home > Lotus Technologies > Application Development (48 articles)
   An application for scanning physical mail and distributing it virtually
   Little known traps about Lotus Notes fields
   Integrating a Notes Connector database with Google Enterprise Search
Get Weekly Email Updates
Subscribe to our regular weekly email newsletter. It's packed with tips, reviews, deep analysis, and the latest news.
 
Recent DominoPower Articles
Application development, William Shatner, and the origin of the universe
Learn Domino Designer 8.5 for free
The (near) future of Sametime, Quickr, Connections, and Symphony
Inside the IBM Innovations lab
Lotusphere 2010: Hot fixes and cool news for Notes, Domino, and LotusLive
Lotusphere 2010: mobility and collaboration
2010: A Lotusphere of change
Latest Lotus Headlines
IBM Lotus to Google Apps Migration Remorse
Webcast Series: Mobile Collaboration with Lotus Software
Domino Login Control for Mobile Apps
Sys Admin Tips March 2010
Quickr place Superusers
Writing Client-Side Javascript for Re-Use
Lotus Notes R8.5.1: Bug in Contacts "Print Selected View"
>> Read all the news
More from the ZATZ journals
Computing Unplugged: The iPad defenders have spoken
David Gewirtz Online: CNN commentary and analysis
OutlookPower: More about disappearing text
-- Advertisement --

Find unused Lotus Notes groups and clean up your address book
Have you ever wanted to get rid of old Lotus Notes groups that were cluttering up your address book, but you weren't sure if they were used? Find Unused Groups can help.

Find Unused Groups will check your ACL, mail, multi purpose and server groups to help you determine if they are used, and who uses them.

Learn how to easily clean up your address book.

-- Advertisement --

Mark your calendar for in-depth Lotus training, May 12-14, Boston
Join experts and peers May 12-14 in Boston for educational and networking events that deliver real-world Lotus training so you can increase productivity and efficiency in your company, advance your skills, and squeeze the most from your current environment. One registration gets you into THE VIEW's Admin2010 and Lotus Developer2010.

Register by April 10 to save $200.
ZATZ Home  ·  News  ·  Back Issues  ·  Credits/Trademarks ·  Link To Us
Copyright © 1998-2010, ZATZ Publishing. All rights reserved worldwide.
Editor's Login