>function validateForm(form) { 
>if (form.myText.value.length < 1 ){
>    alert ('You must select at least one question to continue. n\nClick
>OK!);
>    form.mySelect.options[1].focus();
>    return false;
>}
>return true;
>}

Try this:
function validateForm(form) { 
if (form.myText.value.length < 1 ){
    alert ('You must select at least one question to continue. n\nClick
OK!);
    form.mySelect.selectedIndex = 0; // The first index
    form.mySelect.focus();
    return false;
}
return true;
}

Scott
--------------------------------
Scott Brady
http://www.scottbrady.net/
 
             
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

Reply via email to