June 17, 200322 yr 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... 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]
June 18, 200322 yr 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 = well....where is this 'field' then?
June 18, 200322 yr 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 All the best. Garry
Create an account or sign in to comment