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.

modify script to trigger modification date.

Featured Replies

using fmk 4.1 on a mac in os 9. i have one field (a) in one module. have field (??? in another module. the module that has field (??? also has a modification field that auto enters date modified, EXCEPT when field (:( is triggered by field (a). the script is in layout that has field (???. the script is as follows:

If(IsEmpty(newitemISBNSKU::FileName), "", "Yes")

can i add something to this script so that when the field (a) adds a "Yes" to field (??? it updates modification date field in the same layout as field (???? what would i add?

  • Author

Anybody? please help.

If you're doing it with a script anyway, why not just add a step to update the modification date field?

Set Field [ModificationDate, Status(CurrentDate)]

  • Author

i could just add the above you supplied to what is already in there?

If(IsEmpty(newitemISBNSKU::FileName), "", "Yes")

  • Author

would i just add it to the current script?

If(IsEmpty(newitemISBNSKU::FileName), "", "Yes") Set Field [ModificationDate, Status(CurrentDate)]

Yes. Just make it the next step after the "If(IsEmpty...."

BTW, I was assuming that the modification field is in the file where the script is running, if it's in the related file then you should use this step instead:

Set Field [newitemISBNSKU::ModificationDate, Status(CurrentDate)]

  • 2 weeks later...
  • Author

i can't get either to work and update the modification date. the "script" was created when defining the field.

i also noticed when you change data in other related fields the modification date does not change. any ideas?

i did create a script that cuts the date created from one module and pastes it to the modification date but it has to be manually done. i would like to automate it. can i attach the script to a field so when it is "touched" it actives the cut and paste script?

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.