-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
[EMAIL PROTECTED] schrieb: |>I have no idea of how PerForm works isn't there a directive which let |>you set the action-attribute of the form? If that's the case you could |>use e.g. JavaScript. | | | The problem with PerForm forms is that they always submit to themselves, | which is great in tearms of validation because you can include all the | validation rules for the form in the form page itself. You can also | perform actions on submission - I have mine insert various values into a | mysql database by using BDI.
As already said, you could use JavaScript to set the action-attribute of the form tag pointing to another URL.
- ---------------8<--------------- document.forms[0].action = "my/new/uri.html"; - ---------------8<---------------
| | The problem is, once all the form submission code has been run, the only | way to get to another page is by issuing a redirect request (this is done | by returning a URI from the form submission callback function). | | Server redirectcs do not pass over the contents of POST. Which means that | the only way I am able to pass over the contents of POST, is to convert it | into GET (ie. append it all to the URL). Less than ideal. | | The answer as I have just discovered lies in the use of sessions... I | suppose cookies could do the same thing. | | thanks, tom |
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCiaDPkVPeOFLgZFIRAnAxAJ9QLvJj5ziWVrKrjLWF+/AkZWYxyQCgpaJM hot7J1naDgbHbb/8TeMc8IQ= =mURY -----END PGP SIGNATURE-----
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
