Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 7080 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

hi everyone,

I am using eventscript. I have a pop up window to allow entry into a number of fields (more than a custom dialog box would allow) and a "done" button that closes the window. the fields have an eventscript attached to them. If the user tabs out of the fields the script triggers, but if the user changes a field and clicks on the done button without exiting the field, then the window closes and the script is run from the wrong layout. How can I either prevent the user from clicking the button while still in a field or work around it.

this is driving me nuts

Thanks in advance

Posted

Add a Commit Records/Requests step at the beginning of the Done script. If that doesn't work, try testing If [Get(ActiveFieldName)] and exiting/halting if true.

Posted

Thanks for replying,

I had already tried the commit but the script still waited until the done script finished. The halt/exit option works but requires a double click on the done button, the first halts the script and runs the other then the second closes it. I don't see any other options so I quess a double click is it.

Thanks

Posted

You could also change the Done button to be linked to a simple Resume Script step and change the initial script to Pause/Resume to allow for data entry and then call the Done script. Then pressing Enter (on the number keypad) would perform the same function as clicking on the button.

This topic is 7080 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.