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.

calculation to get field name

Featured Replies

 
 

How can I return the actual name of a field in a calculation?

If the field is "guarantee"

to return the text "guarantee"

Thanks

Get(ActiveFieldName) will return the name of the field that has the focus - if that will do it for you
 
Martie

Why do you need the field name?

Why do you need the field name?

I don't know about the OP, but I use it for indirection methods all the time. Let's say you have a script that insert's the current time into a field, rounded to the nearest 5 min. increment; then let's say you need to be able to set 10 different time fields with this script, depending on the button a user clicks. I send the script a parameter with the field name I want to set, then use the 'Set Field by Name' step to set the specified field.

 

Use this function to get the field name as text:

GetFieldName ( Table::Field ) = "Table::Field"

 

To extract just the field name portion of a fully-qualified field name, I use this calculation:

GetValue (
    Substitute ( GetFieldName ( Table::Field ) ; "::" ; ¶ ) ;
    2
) = "Field"
  • Author

thank you works great

 

I need the field name because I have lots of container fields that I store pictures in . I have named the fields after a specific web page and I will need to the names of the fields to easily make a  text function  that I can use to substitute code in dreamweaver. 

Sounds questionable.

 

Sounds like they should be related records where the attribute (page name or whatever) is one field; and the image is another field

... Sounds like they should be related records where the attribute (page name or whatever) is one field; and the image is another field

 

I second this opinion!

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.