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.

calculating field name?

Featured Replies

I've got a series of field names (example is TimeCards template from FM)--->day 1, day 2, day 3....).

I want to access the appropriate field based upon script parameters passed in from a button (ie., parameter "1", go to field name Day 1).

How do I do this?

I've tried using Concatenate to put it together with Get(ScriptParameter), which succesfully results in the text string equaling the correct field name; however, it's not being recognized as a field name.

Example.. If I output the result of the calculation into a dialog, I see the correct field name displayed; however if I attempt to do a calculation based on this calculated field name, it doesn't work.

Use either the getfield() or the evaluate() function to access a field by its calculated name, like:

getfield ( "Day " & get(scriptparameter) )

  • Author

thx! sweeeeeet! amazing how well it works when you're actually using the right functions....

Hmmm, well isnt that useful, i didnt know we could call a field through a calculation.

As always, cheers for making me pick something new up :)

~Genx

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.