Jump 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.

Featured Replies

I have created a simple cash register and using a portal to add items via a barcode scanner reader and by using Exit Script [Result: False] it is automatically moved to another portal row i want to know if there is a way to cancel the Exit Script [Result: False] with a command button to validate the transaction.

 

Thanks to share your ideas.

 

I moved your topic  from "Articles, Tips, Techniques & Solutions" to "Managing Scripts".

 

Please read the descriptions of the topic before you post your questions in them The Articles, Tips, Techinques & Solutions state

Member contributions including articles, tips, tricks & techniques. Please provide links to previously posted threads, and demo or sample files & open source solutions. Discussion and dialog for implementation and development

 

If you have any questions about this action, contact me by Private Message.

 

Lee

You might want to have a look at the types of triggers:

http://help.filemaker.com/app/answers/detail/a_id/7465

 

In particular, notice that some triggers run Pre (before) the event, and some run Post (after). If you are using OnObjectSave, for example, you might try switching to OnObjectValidate. That should keep the cursor in the same field when you Exit(False).

  • Author
More Details..
 
System and setup a portal to input Scan barcode number to the portal row one by one via a Script Triggers as per below
 
Go to Field[POS::BarcodeID]
 
Go to portal row[Last]
 
Exit Script [Result: False]
 
 
And it's working well.
 
I want to know how i can end the transaction by cancelling the Exit Script [Result: False]?
 
 
Now i am stuck on the Exit Script [Result: False] by waiting for another scan barcode command.
 
I will need to be able to cancel the Exit Script [Result: False] to be able to complete the transaction and print a receipt.

Which script trigger are you using? OnExit?

  • Author

OnObjectExit.

See my previous post.
OnObjectExit triggers when you exit a field, even if you haven’t made changes.
OnObjectValidate triggers when you exit a field after making changes. If you haven't made changes, it won't trigger, and if I understand what you're trying to do, this should allow your completion script to run when you click the button.

Create an account or sign in to comment

Important Information

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

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.