macavity Posted March 29, 2010 Posted March 29, 2010 Is there any trick to trigger a script when a layout is left - rather than when it is loaded? Apart from assigning the script, on layout load, to every possible layout the user might go to (not a comfortable option).
Vaughan Posted March 29, 2010 Posted March 29, 2010 How are the users leaving the layout? What are you trying to achieve here? Trigger a script on record commit, perhaps.
macavity Posted March 29, 2010 Author Posted March 29, 2010 I wish that were the solution... I'm trying to have a button be visible (conditionally formatted) and usable when the user arrives from a specific location under specific conditions. He should be able to make changes in the record (and therefore commit records) and browse other records without affecting the button. The button would be called "return" and would take him back (not a simple matter of go-to-layout). However if he chooses to do something else, go elsewhere, the button should then become disabled and invisible so that it is no longer active on that layout. It isn't a life-or-death function, but it would be nice. Not worth having a second layout just for the purpose either.
bruceR Posted March 29, 2010 Posted March 29, 2010 Is there any trick to trigger a script when a layout is left - rather than when it is loaded? Apart from assigning the script, on layout load, to every possible layout the user might go to (not a comfortable option). Yes. FileMaker 11 provides the On layout Exit script trigger.
Recommended Posts
This topic is 5627 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now