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.

exiting a script while the script is running

Featured Replies

I have a script that pauses for the user to enter a field. The user at times wants to exit this script without entering any information. Is there a way to cancel this script without hitting the cancel button manually?

Obviously the user must do something to exit the script, why not the cancle button. Depending ont he situation you could pause the script for a set period of time the exit automatically.

Knowing what your script is intended to do, what are the users options, and why the user woud want to cancel, would help to better answer your question.

Sure, you can, for example, use


Loop

[color:"white"]__[/color]Pause/Resume Script [ ]

[color:"white"]__[/color]Exit Loop If [Length(field)]

[color:"white"]__[/color]Show Message ["Do you want to cancel?"]

[color:"white"]__[/color]If [status(CurrentMessageChoice) = 1]

[color:"white"]____[/color]Perform Script [sub-scripts, "Cancel"]

[color:"white"]__[/color]End If

[color:"white"]__[/color]Go to Field ["field"]

End Loop

Assuming your choices in the Show Message are "Yes" and "No", and that the Cancel script has a Halt (or a call to a Halt) in it.

  • Author

The script is in find mode. It automatically goes into find mode when you enter the clerking layout. Sometimes the user enters the layout and decides that they don't really want to be there and hits the menu button which is also a script and leaves the current layout, but the script that was active when they entered the clerking layout is still active and hasn't been cancelled out yet.

Is there a way to cancel the script using the menu button script without hitting the cancel button manually.

  • Author

Thank you so much Queue.

Dobbers

In the script that is attached to the Menu button insert the Enter Browse Mode script step at the beginning and the Halt script step at the end. Make sure the button itself is formatted to Exit the current script.

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.