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.

Empty field warning

Featured Replies

  • Newbies

Hi all,

I have a button that currently goes to a new record. I would like to add a script that will warn the user if one of the fields is empty. On another layout this field needs to remain empty so I don't want to require the field to have an entry.

I hope that makes sense.

Thanks in advance

By "goes to new record" do you mean create a new record or go to another record?

Script your button [pseudo code]

If [not IsEmpty(particularField) ]

Show custom dialog [particularField is not empty]

Exit script

Else

?? Goto chosen layout/record [or create new record]??

Or you could clear particularField before going to the new record/creating new record:

If [not IsEmpty(particularField) ]

Show custom dialog [particularField is not empty]

Set field [particularField; ""]

?? Goto chosen layout/record [or create new record]??

  • Author
  • Newbies

Thanks! That works great.

Cheers

Create an account or sign in to comment

Important Information

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

Account

Navigation

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.