Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Can ZippScript do "continue"?

Featured Replies

I would like to use ZippScript ( although I am not wedded to it ) to tell a script to continue ( from pause ). I want this to be a scripted event on exiting a field.

I don't believe there's any way to call the Resume Script script step from a script. But instead of a Pause Script[indefinitely] add this:

set variable $$resume = 0

Loop

Pause Script[1 second]

Exit Loop If $$resume = 1

End Loop

set variable $$resume = 0

then have the script called by zippScript be:

Set $$resume = 1

I haven't tested this, but I think the logic is sound.

  • Author

Thank you for a quick response!

I don't see how the $$Resume increments to "1" thereby setting up an infinite loop.

What am I missing?

  • Author

never mind....

Thanks again

I'm testing it and it doesn't seem to work consistently. If the validation script is run while the pause is actually happening, the $$resume changes, but the script pauses on the End Loop indefinitely.

I have no idea why that is.

Perhaps it would be better to split the script into two? What happens if user hits Enter instead of filling the field?

In any case, I believe you could run a dummy script, with the control parameter set to Resume.

:hair: :bang::hair::bang::hair::bang::hair::hair::bang::hair::bang::hair::bang::hair:

Perhaps a quest out to see if more filemaker'ish methods existed to prevent this scripting urge?;)

--sd

About the only time I've found this necessary is when using a touch screen, where you prompt a user to select one entity, then apply it to another. Selecting the first entity triggers the script with a pause in it after it collects what it needs, then the selected entity is simply a button that is set to resume script. But again, if a keyboard is available the user can resume the script without selecting the entity, and corrupting the script.

I think you should look at splitting your scripts to eliminate the need for a resume. Much cleaner.

Have some patience, young man. There's plenty of time to ask these questions later.

  • Author

My thanks to all of you! I'm looking more favorably on splitting the scripts - Thanks!

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.