![]() |
Next Page |
| Contents > Editing objects on layouts > Selecting and working with objects on a layout > Setting up a field to display a pop-up menu, checkbox set, or other control |
|
|
| Setting up a field to display a pop-up menu, checkbox set, or other control |
| You can make data entry for a field easier and more consistent by displaying fields as drop-down lists, pop-up menus, checkbox sets, radio button sets, or other controls. |
| You can set these controls at the same time you place fields on a layout, or you can modify existing field controls. For more information on placing fields on a layout, see Placing and removing fields on a layout. |
| To set up a field to display a pop-up menu, checkbox set or other control: |
| 1. | In Layout mode, double-click the field, or select the field and choose Format menu > Field/Control > Setup. |
|
|
The Field/Control Setup dialog box appears. |
| 2. | In the Control Style area, for Display as, choose the control style you want. |
|
|
|
|
|
| 3. | Choose the value list you want from the Display values from list. |
|
|
You can also create a value list by choosing Manage Value Lists from the Display values from list. For more information, see Defining a value list for data entry. (If you define a value list via the Field/Control Setup dialog box, later you can still use it for other fields.) |
| 4. | If you selected Drop-down List in step 2, you have the option to format the appearance of the list by selecting Include arrow to show and hide list. An arrow control appears in the edit box. The user clicks the arrow or presses Esc to show or hide the drop-down list. (A drop-down list with an arrow control is sometimes referred to as a combo box.) |
| 5. | To allow the user to enter values other than those defined by the value list, select Include "Edit..." item to allow editing of value list. |
|
|
This option is not available if: |
|
|
| 6. | Choose the field to use from the Display data from list. |
|
|
Fields can be from the same table, a related or unrelated table in the same file, or a related table in another FileMaker Pro file. To choose a field in another table, follow these steps: |
|
|
|
|
Select Create label to include the field name as text on the layout. |
| 7. | Click OK. |
|
|
To view drop-down lists or pop-up menus, select the field in Browse mode or Find mode. |
| Notes |
| During data entry, if the value list is blank, is missing values that should be present, or displays an error message, see Value lists troubleshooting. |
| When you format a field to use a value list created from values in a field, FileMaker Pro displays the value list items in alphabetical order. |
| To allow users to begin typing a value and have the system suggest a completion for it, select Auto-complete using value list. For more information, see Setting up a field to auto-complete during data entry. |
| To change the arrangement of value list items in checkboxes and radio buttons, resize the field. A field that is taller than it is wide displays items stacked vertically. A field that is wider than it is tall displays items side-by-side horizontally. For more information, see Resizing and reshaping objects. |
| If the field you're formatting to display a value list is in a portal and the value list is defined to include only related values, you may need to create a self-join relationship in order for the value list to display the related values properly. For an example of displaying only related values, see Example of a value list that includes only related field values. |
| You cannot apply control styles to container fields. For more information on container fields, see Working with data in container fields. |
| Related topics |
| Setting up a field to display a drop-down calendar |
| Setting up the display of repeating fields |
|
|
| Contents > Editing objects on layouts > Selecting and working with objects on a layout > Setting up a field to display a pop-up menu, checkbox set, or other control | Next Page |