kuma_24 Posted March 5, 2004 Posted March 5, 2004 Need help fast. Trying to use multiple tokes to transfer data across multiple web pages. I have successfully take one token across and have displayed it with [FMP-CURRENTTOKEN]. Can anyone help?
jonesy17 Posted March 5, 2004 Posted March 5, 2004 From the CDML Reference DB: Up to nine tokens can be used by using a slightly different syntax for the token tags. The variable tag -Token can have an optional token specifier of the form -Token.X where X can be the characters 0 through 9. If no period follows the -Token keyword then token one is implied. To retrieve the value of a token the FMP_CurrentToken will accept another parameter that is a number, of value 0 through 9. If there is no number parameter, but there is a period, then token zero would be returned. CurrentToken constant for the FMP-If tag would then have an optional specifier that would look like CurrentToken:3 if you want to compare the contents of token three to something else. So in your case: [FMP-CURRENTTOKEN:1] [FMP-CURRENTTOKEN:2] [FMP-CURRENTTOKEN:3]
jonesy17 Posted March 5, 2004 Posted March 5, 2004 Forgot to mention, when using the token tag in your form, the colons should be periods, like so; <INPUT TYPE="HIDDEN" NAME ="-Token.3" VALUE ="[FMP-CurrentToken: 3, HTML]">
Recommended Posts
This topic is 7638 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 accountSign in
Already have an account? Sign in here.
Sign In Now