Actually my cgi form populates a document. I am currently using
JavaScript to do my blank validation checks but now want to
use perl to do blank validation checks and also check the document
to see if the data entered already exists. So I am assuming I need
to do this with something that can open up a file and check if the
data exists before I populate the document. I also assume I can do
this with the onsubmit?
| [reply] |
It seems to me you're confused about client vs. server functionality. If you want to store the data entered in your form after it's been submitted, you're supposed to do this serverside, i.e. on the webserver you're submitting the form to.
It depends on the webserver you use what's the best way go, but I suppose you'll want to use CGI on the server (which can, but need not, be a perl script).
If you've no experience with CGI programming (or even don't know what I'm ranting about), have a look at the tutorial section of the Monastry, there you can find quite a number of introductory texts on various aspects (the ones by Ovid seem relevant for you).
Hope this helps, -gjb-
| [reply] |