Database Reference
In-Depth Information
Figure 17-6. Since the Cancel button lets your user stop the script's action, it shouldn't commit the
record. In this case, you want data committed only if the user clicks OK, so turn that option on.
Note that it's not what the button says that's important, it's what it does. If your users expect the
button that commits the data to say “Enter” instead of “OK,” make your dialog box match their
expectations. Just make sure the Commit Data option is turned on.
NOTE
If you're not providing data entry field(s) in the dialog box, you can turn off all the options for com-
mitting the current record.
Once you've set up button text and commit options, select the Input Fields tab shown in Fig-
ure 17-7 (top). The “'Show Custom Dialog' Options” window's Input Fields tab lets you add
up to three fields to your custom dialog box. To add a field to a custom dialog box, select the
Input Fields tab and then turn on one of the “Show input field” checkboxes. When you do,
FileMaker shows a Specify Field dialog box, in which you can pick the field to use.
You can also give the field a label, like “Payment Amount” and “Payment Type” shown in
Figure 17-7 (bottom). A label can be the result of a calculation. If you don't enter text in the
label boxes, no label appears. If you turn on “Use password character” for an input field, the
field works like a typical Password box: It shows * (Windows) or • (Mac) instead of the let-
ters you type, so someone watching over your shoulder can't read what you're entering.
Search WWH ::




Custom Search