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

Hello everyone again... and let me just start off by saying how HELPFUL this forum is!!!

 

I have a form which has a OnLayoutEnter script which does as follows:

Enters Find mode

Show Custom Dialog box

Performs find

 

Is there a way I can loop the custom dialog box until the user actually enters a search or if the search didn't find any records matching the query? I ask this because I have some users who are extremely computer illiterate and some times the cursor is no longer in the textbox and they don't realize and they hit enter and of course it gives them the common error message.

Sure after the custom dialog box in your script you insert an if statement  that checks if the entry field used in the dialog box has a value if it does not you then repeat the custom dialog, you can repeat this as many times as you think necessary. 

 

I usually change the message to something like "You did not enter a value please try again."

 

You can also trap for no records found and give a different dialog box for that.  You will need to "Set error capture Off" before the dialog boxes start to be able to use your own dialog for no records found.

  • Author

...

You can also trap for no records found and give a different dialog box for that.  You will need to "Set error capture Off" before the dialog boxes start to be able to use your own dialog for no records found.

 

That is exactly what I want to do but when I test if isEmpty(field) it does not work...?

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.