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.

Simple Inlineaction Problems

Featured Replies

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

Is there supposed to be an [fmp-valuelist] ... [/fmp-valuelist] ?

I don't know,

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"?

  • Author

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.

Iain

  • Author

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

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.