Newbies Keith Kurzendoerfer Posted September 24, 2003 Newbies Posted September 24, 2003 I have a very long html form with many loops in it. I'm trying to keep track of how many times a user hits a specific web page while they are filling out the form. To do this, I have a "ctr" field and some CDML code on the page I'm trying to track that should add 1 to the current value of the counter each time the user hit's the submit button. The code looks like this: <input type="hidden" name="ctr" value="[FMP-Field:ctr] + 1"> Unfortunately, when the information is written to the database, it doesn't calculate the math. The field ctr will contain the value "0+1" or "0+1+1" and not the value "1" or "2". Any ideas? Thanks! Keith
Recommended Posts
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