Jump to content

This topic is 7816 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Have used inlineaction successfully in the past however, despite staring at the following code for 2 days I'm still no closer to figuring out why it only shows and empty drop down. I'm sure it's something simple that I've forgotten and having repeatedly ensured all names were typed correctly would be grateful for any advice.

<select name="product_ID">

[FMP-inlineaction:-db=Graphics_Material.fp5, -lay=web, -max=all, -findall]

[FMP-Record]

<option value ="[FMP-field:Material_Code]">[FMP- Field:Material_Description]

[/FMP-Record]

[/FMP-InLineAction]

</select>

NB: Product_ID is the field to be populated upon completion

Graphics_Material.fp5 is the related DB

Product_ID and Material_Code are the related fields.

Material_Description is the field to be displayed in the drop down.

Thanks

Posted

There appears to be a couple of extra spaces here:

<option value ="[FMP-field:Material_Code]">[FMP- Field:Material_Description]

<option value ="[FMP-field:Material_Code]">[FMP-Field:Material_Description]

Hope this helps.

Garry

p.s. Are both of these fields on the Layout "web"?

Posted

Thanks Guys

Turned out (although I could have sworn I'd checked it) it was down to me forgetting to share the file via web companion. Doh!!!

Iain

This topic is 7816 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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