[thelist] reseting a form (with a twist)
Nick Wilson
nick at explodingnet.com
Fri Mar 1 11:50:35 CST 2002
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Okay, not as simple as it sounds.
A reset button on my form will not work as the values of the form fields
are php oject properties that are in the current session.
So I need to make my reset button destroy the session vars or reset them
to "". I thought maybe it could be a submit that would include a hidden
field that would set the 'mode' to reset (the mode is just another var
like validate, success and error)
er... anyone get me?
- --
- -----------------------------------------------------------
www.explodingnet.com | Projects, Forums and
+ Articles for website owners
- -- Nick Wilson -- | and designers.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
iD8DBQE8f7+1HpvrrTa6L5oRAmCBAKCJOJCb3kKf3r4nAevXQEdtA0locQCggVaA
zRUTpE4UxKOotgZsEGRHlYI=
=7pQP
-----END PGP SIGNATURE-----
More information about the thelist
mailing list