[thelist] Testers needed

Joel Morris joelm at citycent.com
Tue Jul 11 22:50:11 CDT 2000


Try something like this:

  if (subscriptionForm.LNAME.value == "")
  {
    alert("Please enter a value for the \"Last Name\" field.");
    subscriptionForm.LNAME.focus();
    return (false);
  }

Best, Joel
----------------------------
CityCenter Co.
Web Development & Marketing
mailto:joelm at citycent.com
http://www.citycent.com



> This is true, but how does one set the focus on a checkbox?
>
> Chris
>
> At 11:02 AM 07/11/2000 , you wrote:
> ><snip>
> >  for the form to submit properly..
> >Maybe it was just me, but if I wouldn't have been testing it for ya, i
> >woulda bailed after it didnt go through twice.. maybe make that a bit
> >more noticeable or something..
> ></snip>
> >
> ><tip subject="Checking Form Fields">
> >When checking ALWAYS return focus to the field that they didn't fill out,
> >saves the user LOTS of hassle and they won't bolt as often
> ></tip>
> >
> >Ron





More information about the thelist mailing list