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.

A script to auto generate fields

Featured Replies

  • Newbies

Hi,

I am looking for some guidance in building a script that will auto generate a date and comments field. I want the user to be able to enter a date and comment, click a button that says add another comment, and have a new empty date and comment field appear.

If anyone can point me to some examples of this I would be much obliged.

Thanks for your help!

Rosie

The best, most elegant (and proper) way to do this is to crreate a related file to hold the comments (each record in this file will have a date field and a comment field) and use a portal to display them in the master database. Adding another date and comment will just be a matter of clicking into the blank portal row and typing... no scripts or anything needed.

This is good data design: each master record can have one or many comments, so it requires a related file: *not* multiple fields or <shudder> repeating fields.

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.