Field hints provide a brief description (or hint) of what can be stored in a field. This feature is often used to illustrate field syntax or the expected value for the field. For example, a field hint for a date field might illustrate the American date format of "mm/dd/yyyy" or the European date format of "dd/mm/yyyy", whereas a text field might illustrate the format for a phone number as "111-222-3333".
Field hints display automatically in newly created documents. However, as soon as the user places the cursor in the field, the field hint disappears. Field hints are added through the properties dialog and can only be set for the following field types.
Field hints cannot be added to other field types due to the nature of the field (e.g., there is no place for a hint to be displayed in a radio button or checkbox field).
To implement this solution, complete the following steps.
Create a field that supports field hints (as listed previously).
Select the Design > Field Properties menu options to display the properties dialog. Switch to tab 3 and type a short text message in the Field Hint section (see Figure 17.3).
Figure 17.3. Example field hints in the Field properties dialog
This tab also includes a section called Help Description. Any text message added to this property setting will be displayed in the status bar located at the bottom of the form. The help message is displayed when the document is open in edit mode and the cursor is in the given field.
An Introduction to the Lotus Domino Tool Suite
Getting Started with Designer
Navigating the Domino Designer Workspace
Domino Design Elements
An Introduction to Formula Language
An Introduction to LotusScript
Fundamentals of a Notes Application
Reference Library Applications
Design Enhancements Using LotusScript
Design Enhancements Using Formula Language
Miscellaneous Enhancements and Tips for Domino Databases
Application Deployment and Maintenance
Appendix A. Online Project Files and Sample Applications
Appendix B. IBM® Lotus® Notes® and Domino®Whats Next?
Lotus Notes Developers Toolbox: Tips for Rapid and Successful Deployment
Authors: Mark Elliott
Similar book on Amazon
XPages Portable Command Guide: A Compact Resource to XPages Application Development and the XSP Language