Reference > Script steps reference > Navigation script steps > Go to Previous Field
 

Go to Previous Field

Moves to the previous field in the tab order of the current layout.

See also 

Options 

None.

Compatibility 

 

Product 

Supported 

FileMaker Pro Advanced 

Yes 

FileMaker Go 

Yes 

FileMaker WebDirect 

Yes 

FileMaker Server 

Yes 

FileMaker Cloud 

Yes 

FileMaker Data API 

Yes 

Custom Web Publishing 

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)