Sep 22nd, 2009, 9:12 PM
I'm having some trouble getting my multi-page form to continue onward. First let me point out that I'm using this within WordPress...so I've set up different templates that contain the form code but also can be populated with other content via the back-end. Not sure if this is related to the problem here.
What I've noticed is that when I use the form action echo $_SERVER["PHP_SELF"]...the form always points to http://mysite.com/index.php
So when I hit submit, the form just tries to go to that URL instead of what I specify in the params which would be another page in the WordPress framework that I've set up in a similar manner. I could just use the file name for the action I suppose...but I wanted to do this the correct way :-). Any ideas?
What I've noticed is that when I use the form action echo $_SERVER["PHP_SELF"]...the form always points to http://mysite.com/index.php
So when I hit submit, the form just tries to go to that URL instead of what I specify in the params which would be another page in the WordPress framework that I've set up in a similar manner. I could just use the file name for the action I suppose...but I wanted to do this the correct way :-). Any ideas?