Adrian,

This is REAL close, I appreciate the help. It works and improves what I have, 
but could be better. Here's what happens. 

Some goofball selects the second select first, ALERT - "please select a size".

Now you select the size - it doesn't submit because of course, there's no 
onchange on that one. 

So now you have to select the color again and change it to SUBMIT the form. 
Here's what I have so far. Thanks!  Will

<InvalidTag language="JavaScript">
<!--
function submitForm()

{
  if ( document.form1.prodsize[document.form1.prodsize.selectedIndex].value
!= 0 )
    document.form1.submit();
  else
    alert("Please select a size"); 
        }
//-->
</script>

 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:190369
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to