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

Can anyone tell me how to set a token to the value of a field in the current found set?

is it

<input type=hidden name="-token.mytokenname" value=[FMP-field:myfieldname]>

where do i actually set the token name and its value? in the input tag, or do i need to do something before?

thanks

It is:

<input type=hidden name="-token.n" value="[FMP-field:myfieldname]">

The 'n' is a number from 0 to 9. The [FMP-Field:....] should be in quotes.

Hope this helps.

Garry

[ February 21, 2002, 03:52 PM: Message edited by: Garry Claridge ]

  • Author

it helps me out thanks. How can i retreive the token value, and display it to the user?

[FMP-token:9]?

Here it is:

[FMP-Currenttoken:9]

Download the CDML tools bundle from the FM site. The "CDML Reference" database is excellent value.

All the best.

Garry

In my page, I have:

...

<INPUT TYPE="hidden" NAME="-token.1" VALUE="[FMP-field: Doctor_Name]">

<INPUT TYPE="text" name="Doctor_Name" size="40">

..

<INPUT TYPE="submit" name="-View" value="View Records">

Then in my format page, I have:

Doctor name is [FMP-CurrentToken:1]

I got "Doctor name is [FMP-field: Doctor_Name]" in the web page, but not the exact name like "Mike", which I typed in the first page.

Do you know what's wrong with it? I want to use the [FMP-CurrentToken:1] value to do comparison in later pages.

Thanks very much!

Catty

You will need to input to the Token; e.g.:

<INPUT TYPE="text" NAME="-token.1" VALUE="">

Also you do not need this because you have '-view':

<INPUT TYPE="text" name="Doctor_Name" size="40">

..

<INPUT TYPE="submit" name="-View" value="View Records">

This should now show what was typed in:

Doctor name is [FMP-CurrentToken:1]

All the best.

Garry

[ February 22, 2002, 11:54 AM: Message edited by: Garry Claridge ]

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.