People often use the pop-up menu format when another choice would be much more appropriate. If you've ever filled out a form on a Web page, you've probably seen a pop-up list with the abbreviations for all 50 states. Unless you live in Alabama, Alaska, Arkansas, or California, you probably find this format less convenient than if you simply typed in your state's two-letter abbreviation. If you release the mouse on the wrong choice you have to repeat the process. A scrolling pop-up list might be a good solution, or you can use a value list to validate user entries. If you create a value list with all the state abbreviations, it will compare the list against the entry to minimize errors.
1. Go to the layout you'd like to format. Choose File > Define > Value Lists (Figure 3.38).
2 .When the Define Value Lists dialog box appears, click New (Figure 3.39). When the Edit Value list dialog box appears, give your value list a name.
3. Click inside the input box and type the items in your value list. Press Return (Mac) or Enter (Windows) between each value (Figure 3.40).
Notice that you don't have to input every choice if you already have a field with this list in your database, or if you're using FileMaker Pro 7 and have typed the entries into a different database as a value list. If you have an existing value list you'd like to use, in the Edit Value List dialog box, choose either "Use values from field" or "Use value list from another file" to navigate to the existing field or value list (Figure 3.41).
4. After you've typed the last entry or specified an existing value list, click OK and then Done.
5. Choose File > Define > Database (Control+Shift+D/Command+Shift+D). When the Define Database dialog box appears, click the Fields tab.
6. In the scrolling list, double-click the field you want to validate (Figure 3.42).
7. When the Options box appears, click the Validation tab.
8. Choose the value list you just created from the "Member of value list" drop-down menu (Figure 3.43).
9. Click OK and then OK again.
Now when you input data in the chosen field, FileMaker will check the input against the value list. If the value doesn't match the list, you'll see a dialog box (Figure 3.44) that alerts you to the error.