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.

Date Switch

Featured Replies

I've designed a date field to set the current date (via scripted button) and formatted the date to appear as Saturday, August 26, 2000. The button option is in case the user needs to post date their written report. I field tested the layout by creating several fictitious discipline reports. Everything went perfect till I highlighted the date field to clear it and watched it revert to 8/26/2000. Although it's unlikely this date will ever be cleared, the switch still bothers me. Maybe I've chosen the worng way to get the current date...

SetField ["Date 1", "Today"]. What have I missed?

Hey tmac,

Here's what's happening.

You created a field called DATE1 and set the type to DATE. When you set the field on your layout, you went to the date format and set that to <day of week>, <month> <date>, <year>.

In your script using the command SET FIELD ["DATE1","Toaday"] will pass the date information to the DATE1 field in the format of mm/dd/yyyy.

When you click on the field, you will see the information as it was passed, not as you formatted it for displaying.

If you think the change of the display may bother someone, set the field so it cannot be modified from the layout. Go to the field format and un-check Allow entry into field.

Hope this helped. smile.gif

Steve

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.