View Single Post
  #6  
Old 01-28-2010, 09:36 AM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: make users choose

this should still work. javascript is version independent.

You will just need to replace po3 with appropriate ID.

Note that the first selection in your dropdown should not be an actual option, but a generic place holder such as select or please choose.

if (document.getElementById('po3').selectedIndex == 0)
{ alert('Please select a size for your item.'); return false;
}
else return true;
__________________
xcart 5.1.2
Reply With Quote