|laziness, impatience, and hubris|
CGI.pm form clearingby Bukowski (Deacon)
|on Aug 12, 2002 at 13:16 UTC||Need Help??|
Bukowski has asked for the wisdom of the Perl Monks concerning the following question:
Hello gentle, fellow monks,
I've been writing a stock tracking/barcoding database for my boss (why I bothered to get a degree and a PhD to wind up doing this stuff I'll never know) and one of the 'features' he'd like to see is some kind of form reset on submission.
I've been using CGI.pm quite happily in a reasonably limited kind of way - I can happily reset a form with an appropriately labelled CGI.pm 'Reset' button, but what I want to do is when you hit 'Submit' I want the script to go away and do its magic and *then* reset the various textboxes etc to their default (null) values.
This is something I've been pondering for a while, how do I do this? Goddammit Jim I'm a biologist not a programmer...
Many thanks in advance,
Bukowski - aka Dan (email@example.com)