.NODE

Using Field Hints on a Form

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".

How It Works

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.

  • Text
  • Date
  • Rich Text
  • Rich Text Lite
  • Names
  • Readers
  • Password

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).

Implementation

To implement this solution, complete the following steps.

Step 1.

Create a field that supports field hints (as listed previously).

Step 2.

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


Note

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

Calendar Applications

Collaborative Applications

Reference Library Applications

Workflow Applications

Web Applications

Design Enhancements Using LotusScript

Design Enhancements Using Formula Language

View Enhancements

Sample Agents

Miscellaneous Enhancements and Tips for Domino Databases

Data Management

Security

Application Deployment and Maintenance

Troubleshooting

Appendix A. Online Project Files and Sample Applications

Appendix B. IBM® Lotus® Notes® and Domino®Whats Next?

show all menu





Lotus Notes Developer's Toolbox(c) Tips for Rapid and Successful Deployment
Lotus Notes Developers Toolbox: Tips for Rapid and Successful Deployment
ISBN: 0132214482
EAN: 2147483647
Year: N/A
Pages: 293
Authors: Mark Elliott
Similar book on Amazon

Flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net