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.

Taking contents of a field and then adding additional information to the existing contents

Featured Replies

I’m running into issues with a script I’ve written that takes the contents of a field and then adds additional information to the existing contents.

I am populating a single field from multiple records using the substitute and List commands. When the user puts a report up for review, a script is run that captures the contents of a field and assigns it to a variable. The script then replaces the contents of the field with a set field command using the Substitute and List commands and then tacks on the variable to the end of the contents.

This works, but the problem is that every time a report is reviewed and submitted (this can happen multiple times) the contents of the field are copied and pasted. This results in many, many copies of the same contents of the field if a report is approved multiple times.

Is there a way that I can insure that only new values are added to this field?

Edited by Guest

Other issues need to be addressed but you should pretty much NEVER be using copy and paste in scripts. Use set field.

If the append script is running every time - and it should NOT run every time - then when should it run? I'm not being facetious. What are the available and desired criteria for when this should be triggered?

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.