Hi,
I was wondering if there is the possibility to have optional required registration items virtuemart for nations, because there are some fields that I need for Italian Customers that are not necessary for the other countries.
Best Regards
you can hide/show fields (and switch off and on validation) by JS
see http://forum.virtuemart.net/index.php?topic=143259.msg510779#msg510779
obviously the 'if' would be country id in your case
Thanks for the quick answer,
I am not able to do any change in JS unfortunately.
Are you able to create a custom plugin for this?
Quote from: GJC Web Design on March 13, 2020, 16:50:46 PM
you can hide/show fields (and switch off and on validation) by JS
see http://forum.virtuemart.net/index.php?topic=143259.msg510779#msg510779
obviously the 'if' would be country id in your case
It doesn't need a plugin ... just adding the necessary JS to the template over rides works fine..
PM me if you want me to do this