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.

Piece of Crap CDML Tag Problems

Featured Replies

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

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

  • Author

i did that, its in like the sixth paragraph above, but thanks for trying wink.gif .

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

"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

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.