I got rid of that return true inside the if, I don't get it, it all seems to work, but the product doesn't add to cart, the page just reloads with ?&err=options in the URL
currently using:
Code:
if (document.getElementById('po1701').selectedIndex == 0)
{ alert('Please select the size of your artwork.'); return false;
}
if (document.getElementById('po1701').selectedIndex == 1 && document.getElementById('po1746').selectedIndex != 0 )
{ alert('The smallest size of this image does not come framed, please un-select a frame option and try again. See our FAQ page for more information.'); return false;
}
if (document.getElementById('po1746').selectedIndex == 0 && document.getElementById('po1701').selectedIndex != 1 )
{ alert('Please select a frame style for your artwork.'); return false;
}
else return true;