View Single Post
  #11  
Old 10-24-2007, 06:51 AM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default Re: Javascript Validation for Product Options

PS - make sure your js validation doesn't have any extra whitespace. Here is an example again...

Code:
if (document.getElementById('po444').selectedIndex == 0) { alert('Please select...'); return false; } if (document.getElementById('po445').selectedIndex == 0) { alert('Please select...'); return false; } if (document.getElementById('po447').selectedIndex == 0) { alert('Please select...'); return false; } else return true;
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote