![]() |
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) |
Re: Javascript Validation for Product Options
Thank you, carpeperdiem!
|
Re: Javascript Validation for Product Options
Quote:
Okay, so my tpl has been altered already, so I'm not sure where to place this... I have: {foreach from=$v.options item=o} <TR> <TD>{if $o.avail ne 'Y'}<FONT color="red">{/if}{$o.option_name}{if $o.avail ne 'Y'}</FONT>{/if}</TD> {if $v.is_modifier eq 'Y' && $o.price_modifier ne 0} <TD>{$o.price_modifier}</TD> <TD>{if $o.modifier_type|default:"$" eq '$'}{$config.General.currency_symbol}{else}%{/if}</TD> {/if} </TR> {foreachelse} >>>this changes the font color when an item is on sale... >>>and this: {foreach from=$v.options item=o} <OPTION value='{$o.optionid}'>{$o.option_name}</OPTION> {/foreach} >>>which I have no idea what this does... |
Re: Javascript Validation for Product Options
Anyone notice in 4.1.9 that the "Select" text part does not default to the top of the dropdown on the product page. Can't seem to figure out, by default it goes to my first option.
I have seen most of the posts referencing the latest version but no fixes for what might be a unusual issue. Thanks, Bruce |
Re: Javascript Validation for Product Options
Anyone know if this works in 4.3 or how to get it working?
|
All times are GMT -8. The time now is 02:26 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.