based on your question, the answer would be: "set a flag while submitting to branch a little print subroutine."
a more elaborate answer would require you to show us a bit of the code you are working on. and in fact, by writing the text file to the html page, it means that you already got your flag, right? so this is probably where to insert the sub. But that's all guessing until we see the code.
In reply to Re: Run a subroutine on "Submit"
by Chady
in thread Run a subroutine on "Submit"
by Donnie
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |