Form Counter

liunx

Guest
Hello<br />
<br />
Is there anyway to link a counter into a form so when someone submits the form the counter counts 1.<br />
<br />
<br />
e.g. someone submits the form so when the next person visits the site the counter is on 2.<br />
<br />
<br />
Thanks<!--content-->That's something that would need to be built into the application that handled the form submission on the server-side of things.<br />
<br />
Another way you could do it would be to setup a standard CGI hit counter, but only call it when someone submits the form. When a form submit button is clicked, you'd call a JavaScript function that would create a new Image() object, then set the SRC to your hitcounter to increment it. That's all beyond the scope of this forum, though you might ask in the JavaScript forum for details.<!--content-->
 
Back
Top