Jump to content

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

Recommended Posts

  • Newbies
Posted

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

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