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.

Clear a global date field

Featured Replies

Hi,

I have 2 global date fields, MinDate and MaxDate, that I'd like to leave empty when my script is done. I'm using

Clear [select,"MinDate"] <-- Select entire contents option is checked

But they are never cleared. Trying to set them to "" doesn't work either. What am I doing wrong.

Thanks for any help,

Dan

Instead use: SetField(MinDate,TextToDate(""))

It converts the null value into a date equivalent.

The Clear command only works if the field is on the current layout when you perform the script. Also, the field has to be formatted to allow entry. Steve's solution using a Set Field command is the reliable way to do it.

  • Author

Thanks! Works just right.

Dan

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.