[PHP] Form submision probs with Javascript and PHP

2001-02-09 Thread Patrick Brown
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 ||

[PHP] Form submision probs with Javascript and PHP

2001-02-09 Thread Gobins, Debbie
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

Re: [PHP] Form submision probs with Javascript and PHP

2001-02-09 Thread Markus Fischer
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