Jump 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.

Outer [FM-field:] within a [FMP-InlineAction]

Featured Replies

I'm trying to figure out how to use a field value to be used in the [FMP-Record] of an [FMP-InlineAction]

Below is what my code looks like: (well similar to it) Somehow I need the value of the field "coreKey" which is a field in the outer [FMP-Record] to be used in the HTML code generated by the [FMP-InlineAction]. I can't use [FMP-field: coreKey] since this is not a field in the database in the InlineAction.

Is there a way to pass the value inside the InlineAction?

I realize that looking at my code it may seem strange and illogical but I I do have my reasons... smile.gif

Thanks.

[FMP-Record]

html code here

[FMP-InlineAction: -db=Selection_, -lay=TableListings, group_id={FMP-field: pGroupCode}, -find]

[FMP-Record]

<input type="radio" name="need field value of [FMP-field:coreKey] from outer [FMP-Record]" >[FMP-field: groupText]

[/FMP-Record]

[/FMP-InlineAction]

more html code here

[/FMP-Record]

1.Somehow I need the value of the field "coreKey" which is a field .....

2.I can't use [FMP-field: coreKey] since this is not a field in the database ....

1<----lost u---->2 = confused.gif

well....where is this 'field' then?

I think you can use a Token to pass it along.

For example:

[FMP-Record]

html code here

[FMP-InlineAction: -db=Selection_, -lay=TableListings, group_id={FMP-field: pGroupCode}, -token={FMP-field: coreKey}, -find]

[FMP-Record]

<input type="radio" name="need field value of [FMP-CurrentToken] from outer" >[FMP-groupText]

[FMP-Record]

[/FMP-InlineAction]

more html code here

[/FMP-Record]

Give it a go smile.gif

All the best.

Garry

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

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.