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.

Post Comment Script

Featured Replies

Hi all!

Script newbe here. I'm having a problem creating a posting comments script. I have comments to add field were the person would type a comment, and I have the comments compiled field were the comments are posted. I was able to write a script were it would post a date and time stamp, and who made the comment, but no luck on the comments. The fields I mentioned are in one database, and their are no relationships to any other database.

Thanks in advance!

Hi There,

If I understand what you're trying to do correctly, I think there are two things you need to look at:

1) Make sure you are creating a new record to store the comments (use the New Record/Request script step).

2) Use the Set Field script step to set the value of the CommentsCompiled field to the value of the CommentsToAdd field. If you want to preserve any comments already in the "Comments Compiled" field, you set it to Comments Compiled & "<the paragraph character...found in the calculation window>" & CommentsToAdd

I'm not exactly sure about what you're trying to achieve, but you may want to make the CommentsToAdd field a global field (shared across all records)...in fact, that might be the problem you're having. If CommentsToAdd is not a global field, you lose it's data when you make a new record for the new comments to be stored (i.e. the user entered data in one record...but once you've created a new record, the current record's fields (including CommentsToAdd) are blank).

Hope this helps!

Cobra

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.