Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

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

Recommended Posts

Posted

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

Posted

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 ]

Posted

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

Posted

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 ]

This topic is 8379 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.