Product Combo Box Issue
it used to be in xcart 4 there was a Validation script (JavaScript) box, for which i input something like this:
if (document.getElementById('po573').selectedIndex== 0) {alert('Please select your color.');
return false;}
if (document.getElementById('po574').selectedIndex== 0) {alert('Please select your size.');
return false;}
so i would make the default combo box selection something like:
Please Select...
and if they didnt change the combo box it would throw the customer a message saying make a selection. how is this achieved in xcart5?
Core version: 5.2.15
__________________
X-Cart version 4.4.4
PHP 5.2.17
MySQL server 5.1.56
|