[Javascript] required entry field

Rodney Myers rodney at aflyingstart.net
Fri Mar 28 04:11:19 CST 2003


That would be .....

function isValid(form) {  
 if(form.NeverBlank.value=='')
   {
    form.NeverBlank.focus()
   }
 }

hth
Rodney



BEKIM BACAJ wrote:

> Einstein went mad when he heard that somebody wrote SF novel about a 
> man who traveled with the speed of light and saw the batle of 
> Waterloe, for it is insaine he yelled.
> But 'you' can init the new battle at Waterlloe again
>
> function isValid() {    if(NeverBlank.value==''){
>         NeverBlank.focus()
>                 }
>         }
>
> dejavoo - loops forever - if the user does not supply some chars!
>

-- 
PS. I have just bought a licence for Mike Chen's
BizAutomator. If you have to answer routine 
email queries from your sites or mailings then
you need this as much as I do. 
http://www.BizAutomator.com/rlbm51 

Rodney






More information about the Javascript mailing list