Reference > Script steps reference > Navigation script steps > Go to Previous Field
 
Go to Previous Field
Purpose 
Moves to the previous field in the tab order of the current layout.
See also 
Format 
Go to Previous Field
Options 
None.
Compatibility 
 
Where the script step runs 
Supported 
FileMaker Pro 
Yes 
FileMaker Server 
Yes 
FileMaker Go 
Yes 
Custom Web Publishing 
Yes 
FileMaker WebDirect 
Yes 
Runtime solution 
Yes 
Originated in 
FileMaker Pro 6.0 or earlier
Description 
If no field is selected when this script step is performed, this script step moves to the last field of the tab order of the current layout. If a field is formatted as a button, the field object is selected, not the button object.
Notes 
In FileMaker WebDirect, the cursor moves to the selected field.
Example 1 
Controls field entry validation. Can be started with the OnObjectExit script trigger.
If [IsEmpty ( Customers::First Name )]
Show Custom Dialog ["You must enter a first name."]
Go to Previous Field
End If
Related topics 
Script steps reference (alphabetical list)
Script steps reference (category list)