[PHP] Re: determine action of a form dynamically?

2003-06-04 Thread Monty
Hi, I want action of a form to be PHP_SELF untill user presses continue button. If continue button is pressed than next.php should be the action of the form. how to do this? Thanks in advance, Mukta I'm not sure why it's necessary to do this, but, not sure it can be done. Maybe with

[PHP] Re: determine action of a form dynamically?

2003-06-04 Thread Yves Daemen
Best way to do this, in my opinion, is by using a javascript-code like this input type=button onClick=processForm('next.php'); input type=button onClick=processForm('?php echo $PHP_SELF; ?'); The javascript function would then look like this: function processForm(url) {