-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
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.
1. HIDDEN-Fields:
- -----------------
Passing on form-values from call to call can be established using hidden
fields normally.
form1.html:
- -----------
<form action="form2.html">
<input name="val1" type="text" />
<input name="val2" type="text" />
</form>
form2.html:
- -----------
<form action="form3.html">
<input name="val3" type="text" />
<input name="val1" type="hidden" value="$What ever entred" />
<input name="val2" type="hidden" value="$What ever entred" />
</form>
[...]
2. Cookies
3. Sessions
Tom
[EMAIL PROTECTED] schrieb:
| Perhaps my previous post was a little confused...
|
| I guess what I am trying to ask is, when a form generated by PerForm
| always submits back to itself, how can I pass the formdata to the next
| page, which is determined by either the goto attribute on the submit
| button, or the return value from the submit_ callback?
|
| So far I have been able to do this by looping through the $ctxt->{Form}
| hash in the submit_ callback and appending each value on to the end of
the
| URI string which I use as the return value (for the redirect), and then
| accessing these values on the next page bu using $ctxt{Form}{value}, but
| there must be a better way.
|
| Even just doing the same thing but using POST method somehow would be
| better, but I cant get that to work.
|
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFChKvnkVPeOFLgZFIRAitpAJ9e7Z//YQHaT10rGR7Jefue5OfhGACgj9NJ
p+lX50d3GZRjkBGzZdClxiI=
=OWbV
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]