Here's my script. This is a known working script when I use ASP. Why won't
is wotj with PHP.
function submitForm(f, strPage) {
errormsg = "";
if (f.login.value.length == 0) {
errormsg = errormsg + "Please enter a login name.\n";
}
if (f.email.value.search("@") == -1 ||
Pat,
Try using the escape char like this:
input type=\"button\" name=\"submit\" value=\"Add User\"
onClick=\"submitForm(this.form, 'adduser-do.php')\" style=\"width=150\"
Here's my script. This
How about telling us 'what' does not work ?
m.
--
Markus Fischer, http://josefine.ben.tuwien.ac.at/~mfischer/
EMail: [EMAIL PROTECTED]
PGP Public Key: http://josefine.ben.tuwien.ac.at/~mfischer/C2272BD0.asc
PGP Fingerprint: D3B0 DD4F E12B F911 3CE1 C2B5 D674 B445 C227 2BD0
--
PHP
3 matches
Mail list logo