yafreax Posted February 12, 2001 Posted February 12, 2001 okay, i'm experiencing technical difficulties. I'm setting two tokens with a link such as the following: A HREF=FMPro?-db=web&-lay=allfields&-format=new.htm&-token.0=[FMP-Field: FormNumber]&-token.1=[FMP-Field: Description]&-view" Okay, that's all good. It works (i can look at the status bar and it shows that the tokens have the right values, etc). BUT, when i go to display the tokens on the next page, i get the first token = to the right thing, but the second token ='s the same as the first token. Heres the related code: <P><INPUT TYPE=text NAME=FormNumber VALUE="[FMP-currenttoken:0]" SIZE=30>Description: [FMP-CURRENTTOKEN: HTML]</P> notice that [FMP-CURRENTTOKEN: HTML] is not in a field, it's just read only. Obviously everyone will now say, "well, jeremy, you need to have it in this format: [FMP-CURRENTTOKEN:1] so that it relflects the -token.1 value." Exactly, that's what i need, but when i put that, it deletes the "1" and adds the encoding type ("HTML"). I even edited straigt from a text editor to say [FMP-CURRENTTOKEN:1] and saved. When i viewed the page it didn't work. So i looked at it in HomePage, and sure enough, the save didn't stick, it replaced it with [FMP-CURRENTTOKEN: HTML]. What's going on?!!?!?! TIA and please reply ASAP. Will use a cookie and a token until i have solution, but would like to use two tokens. jeremy
Keith M. Davie Posted February 13, 2001 Posted February 13, 2001 More of the joy of using a text editor, I'm afraid. There is no reason to state "html" as that is the default encoding parameter for [fmp-currenttoken]. Perhaps you should copy the entire page to SimpleText or Notepad (depending on your OS) and edit in that medium. Peace Keith M. Davie
yafreax Posted February 13, 2001 Author Posted February 13, 2001 i did that, its in like the sixth paragraph above, but thanks for trying . also i dont state HTML as the default encoding program. it does it on it's own. oh well, life sucks (not for me but for someone i'm sure) jeremy
Keith M. Davie Posted February 13, 2001 Posted February 13, 2001 "also i dont state HTML as the default encoding program. it does it on it's own." Yes, that was my understanding of edit programs. They do it on their own and override many changes you would like to make. That is why I referred to it as a "joy". Now what I hope is a bit more help. The line <p><input
Recommended Posts
This topic is 8752 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