View Single Post
  #8  
Old 05-05-2007, 01:25 PM
 
inebriate inebriate is offline
 

eXpert
  
Join Date: May 2006
Posts: 301
 

Default Re: Product Options Pulldown

use DOM...

some pseudocode to get you started (for onsubmit of the add to cart button)
Code:
var selall = boolean(true); var sel = document.getElementsByTagName("select"); for(i=0;i<sel.length;i++) { if(sel[i].value == "") { selall = false; break; } } if(sellall) add to cart else alert user that they need to select option(s)
__________________
x-cart pro 4.0.18
linux
www.fabric8d.com (currently undergoing construction)
Reply With Quote