Show Custom Dialog
• Title specifies the title of the custom dialog box. You can enter literal text or click Specify to create the dialog box title from a calculation.
• Message specifies the message of the dialog box.You can enter literal text or click Specify to create the message text from a calculation.
• Button Labels specifies how many buttons (up to three) to display in the custom dialog box and labels for these buttons. If you leave a button label blank, the button does not appear in the custom dialog box. If you leave all button titles blank, an OK button displays in the lower-right corner of the custom dialog box. To create a button label based on a calculation, click Specify and then specify the calculation.
• Commit Data checkboxes pass input from the dialog box to the database according to the action of each button. If no fields are active, then the data is committed; if a field is active, then the data is committed when the record is committed.
• Show input field <n> activates an input field.
• Specify selects the field for input. Each input area maps to one field.
• Use password character (*) masks text as it is entered, or as it is displayed from the database. This option obscures data being input into the custom dialog box or being displayed, but does not alter the actual data as it is stored in the database.
• Label specifies a field label (the text that will identify this input to the user.) You can enter literal text or create the label from a calculation.
Use the Get(LastMessageChoice) function to determine which button the user presses.
• 1 for the first button (by default, labeled OK)
• 2 for the second button (by default, labeled Cancel)
• 3 for the third button
•
•
• Data entry via the Show Custom Dialog script step is limited by any access privileges criteria that may be in place. (To enable the script for all users, right-click the current script in the scripts pane and choose Grant Full Access Privileges.)
• For databases created with pre-12 versions of FileMaker Pro that are opened with FileMaker Pro 14, the Commit Data checkbox for Default Button is selected when you open the Show Custom Dialog dialog box.