Donnie has asked for the wisdom of the Perl Monks concerning the following question:
My question will catogorize me as the extreme newbie I am, but I humbly request some help. I have spent about 4 hours searching the archives here before asking.
I have this little script that writes data from a text file to an HTML page on pressing "submit" and it works great. However, I would like to add a little subroutine that acknowledges the action was accomplished. I have tried to understand setting a value in a hidden field and using that to branch to a little "print" sub, but I guess I have not the understanding yet how to do this.
Would any kind soul give me an example how to use "Submit" to not only do its thing, but to also set a flag that will branch to a little "print" subroutine after Submit has been pressed? Thanks so much for helping if you will.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Run a subroutine on "Submit"
by tachyon (Chancellor) on Nov 13, 2002 at 10:11 UTC | |
by Donnie (Acolyte) on Nov 13, 2002 at 20:59 UTC | |
by tachyon (Chancellor) on Nov 13, 2002 at 23:30 UTC | |
|
Re: Run a subroutine on "Submit"
by Chady (Priest) on Nov 13, 2002 at 07:55 UTC |