View Single Post
  #2  
Old 05-03-2005, 06:43 AM
  tabasco-addict's Avatar 
tabasco-addict tabasco-addict is offline
 

Newbie
  
Join Date: Apr 2005
Location: Arizona USA
Posts: 4
 

Default My own answer

So anyway, after no resopnses on the board I tried a million combinations of validation script until something worked.

Heres what I came up with so someone else doesn't have to go through the monkey business that I had to.

Code:
if (document.getElementById('po42').value == "") {alert('Please enter the name of the person or company the the software will be registered in.') document.getElementById('po42').focus() return false; } else { return true; }

Just replace po42 with po and the index of your product option.

Replace the alert with whatever you would like to say.
__________________
Shawn Bulle
RedPup Productions

X-Cart ver 4.0.13
Reply With Quote