News:

Looking for documentation? Take a look on our wiki

Main Menu

shopper field - dynamic change to 'required'

Started by ydl, October 08, 2016, 09:05:53 AM

Previous topic - Next topic

ydl

Hi,

I develop a shopper filed that in some cases is 'required'. I also add it to 'Show in cart form'.
When the user is viewing is card some checks are done and when some conditions are met I want to change the field porprty from 'optional' to 'required'...

Is this is possible?

Thanks,
Yair

Joomla 3.4.8
VirtueMart 3.0.12

GJC Web Design

if u have the skills yes.. would be done by JS in an over ridden components\com_virtuemart\views\cart\tmpl\default_cartfields.php
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation