auto-submit

From: Date: Mon, 28 Jun 2004 02:19:18 +0000
Subject: auto-submit
Groups: php.general 
Request: Send a blank email to php-general+get-189127@lists.php.net to get a copy of this message
Hi - I'm writing a multi-page php script that keeps track of state with a hidden variable in the html forms. It's all working well except I would like to know how to auto submit a form and change the state. For example when I'm in state 2 and the user enters some data and hits a submit button I want the script to change to state 3 - process some data in that state then go back to state 1. I want the transition to go back to state 1 without the user having to hit a submit button - i.e. I want the form to auto-submit. Is there a way to do this? Thanks for any help you can give. Jim

« previous php.general (#189127) next »