The Daily Static
  The Daily Static
UF Archives
Register
UF Membership
Ad Free Site
Postcards
Community

Geekfinder
UFie Gear
Advertise on UF

Forum Rules
& FAQ


Username

Password


Create a New Account

 
 

Back to UserFriendly Strip Comments Index

Javascript Form Question by jmartinASSE2005-03-08 13:21:49
  Try by Pic2005-03-08 13:26:22
    Whats the command to submit a form... by OnDemand2005-03-08 13:30:03
      Yes by staticsan2005-03-08 13:47:56
        with you...kind of by jmartinASSE 2005-03-08 13:54:17
Where would I apply the formname.submit(); because that return false isn't stopping it. It's a drop down menu if that changes anything. Here's the updated code.

function verify() {
var document=(window.document);
var regform=(document.reg);
var temp=(regform.Template);

if ((document.reg.template.value)== 0) {
alert("Please select a template");
temp.value.focus();
return false;
}
}

and the submit button
input type="submit" value="Submit Now" name="submit" onClick="verify()"
[ Reply ]

 

[Todays Cartoon Discussion] [News Index]

Come get yer ARS (Account Registration System) Source Code here!
All images, characters, content and text are copyrighted and trademarks of J.D. Frazer except where other ownership applies. Don't do bad things, we have lawyers.
UserFriendly.Org and its operators are not liable for comments or content posted by its visitors, and will cheerfully assist the lawful authorities in hunting down script-kiddies, spammers and other net scum. And if you're really bad, we'll call your mom. (We're not kidding, we've done it before.)