in reply to cgi check button
Hello, bigup401.
I am curious about a few things -- it looks like you might be taking your first dip into web form handling with Perl using the CGI module. Is that correct?
If so, there's a few things you might need to clarify.
As marto already indicated, you have <input>tags, but they are not inside <form>tags. I'm not terribly familiar with the inner workings of CGI, but I would interpret some of what marto says to mean that CGI might be limited to stuff in forms. I've only ever used it that way, so I wouldn't have any reason to question that.
Part of your question confuses me, though. You indicate you wish to make a decision on what to do based on whether or not a button has been clicked. Unless I'm missing something, your Perl script using CGIonly starts to run once the button has been clicked -- so I don't understand what you are trying to accomplish.
Can you bridge the gap in our understanding with a slow, patient, thorough, careful, and detailed explanation of what you've done, what you're trying to do, and which piece has you stuck?
Sorry to be so verbose, but I think your problem is conceptual, not code-related, so we need to get past that first.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: cgi check button
by bigup401 (Pilgrim) on Apr 24, 2015 at 13:33 UTC | |
by marinersk (Priest) on Apr 24, 2015 at 13:41 UTC | |
by thomas895 (Deacon) on Apr 26, 2015 at 23:40 UTC |