To help users to fill out documents, create a custom dialog box that prompts for specific input. You can do this by using the @DialogBox function or LotusScript. Using @DialogBox requires two forms: one, the dialog form, has a layout region that contains fields, text, and graphics, and looks like a dialog box; the other, the host form, contains a button that uses @DialogBox to display the dialog form. The two forms contain shared fields, and when users enter field values in the dialog form, the values are shared with fields on the host form that have the same names. For example, a host form called "Memo" has a button that uses @DialogBox to bring up the dialog form called "Memo Options." Both forms have a field called "Comments." Text entered into the Comments field in the Memo Options form also appears in the Comments field in the Memo document.
When you use @DialogBox, all values entered in the dialog box are stored in the document created with the host form and can be seen in its Document Properties box even if the fields do not appear on the host form. If the keyword [NoNewFields] is used with the @DialogBox function, the fields that are on both the host form and the dialog form will be updated when the dialog form is saved or refreshed. If [NoFieldUpdate] is used, no fields or field values from the dialog box form will be updated on the host form.
Layout regions are supported in IBM® Lotus® Notes® applications only.
For information on using @Dialogbox, see the Domino Designer Programming Guide.
To match the Notes user interface as closely as possible, follow these guidelines:
Although you can design the dialog form in any way, a 3D layout region most closely resembles a dialog box. A layout region that is 3 inches square is big enough to display a few fields and two or three buttons.
OK and Cancel buttons appear automatically to the right of the layout region. If you do not want the cancel button to appear, use the @DialogBox keyword [NoCancel]. If you do not want the OK or the Cancel button to appear use [NoOkCancel].