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.

Featured Replies

Does it possible set a cookie that value is a result of inlineaction...?

For example:

I've a -db=A.fp5 with fieldB, fieldC, user_ID and a script that create a value for user_ID, called CREATE_ID.

And I wrote this tag in my html page:

[FMP-if:currentcookie:User_ID.neq.]

[FMP-InlineAction: -db=A.fp5, -lay=web, fieldB="ValueB", fieldC="ValueC", user_ID={FMP-cookie:User_ID}, -new][/FMP-InlineAction]

[FMP-else]

[FMP-InlineAction: -db=A.fp5, -lay=web, fieldB="ValueB", fieldC="ValueC", -script=CREATE_ID, -new][/FMP-InlineAction]

<<***>>

[/FMP-if]

<<***>> == I'd like to set a cookie with user_ID value, but I don't know how to do it... I tried [FMP-SETCOOKIE: User_ID=field:User_ID, EXPIRES=30 ] and the value allways is blank...

Please help meeeeeeeeeeeeee!

Just a thought.

Have you tried sticking the code to set the cookie in between the inline tags eg [inlineAction: etc etc ] set cookie [/inlineAction]

NB database values returned from an inline action are available to replacement tags only when the replacement tags are placed between the opening and closing inline tag (as above).

laugh.gif" border="0

[ May 22, 2001: Message edited by: scratchmalogicalwax ]

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.