-- HikaShop version -- : 2.6.0
-- Joomla version -- : 3.4.5
-- PHP version -- : 5.6.13
-- Browser(s) name and version -- : Firefox 40.0.3
Hi,
I have some checkout custom field and I want to show it only on step 4, it is a required field.
In my components/com_hikashop/views/checkout/tmpl/custom_fields.php override I have:
$showfields = array(
'my_special_field4' => 4, // my_special_field4 display only on step 4
);
When I'm on step 2 and I'm trying to go to step 3, I'm getting alert which says that my "my_special_field4" is required and I must fill it. Of course "my_special_field4" is not visible on step 2, I can see in page source there's display:none and type="hidden" applied, but still javascript is looking for this field if it's filled or not (on step 2 I have also other checkout fields). How can I fix this?
Best regards,
Chris