Hi Virtuemart team,
I am surprised that the checkbox required in the registration form does not work yet.
If we add for example the "terms of service" check box in the registration form as required field, we can see the asterix on the label (*) but it's still possible to valid the form without check it.
After that, the account is created but last name, first name and other virtuemart fields were not taken in consideration and these fields are empty.
Do we not have the possibility to add this validation in the function myValidator?
Thanks in advance
Hello
What VM and Joomla versions do You use ?
This sounds like it could be a JavaScript issue. Have You tried with the protostar template ?
regards
Jörgen @ Kreativ Fotografi
Hi Jorgen,
Thanks for your reply.
VirtueMart 3.2.1 and Joomla 3.7.0
Yes of course, same issue with protostar.
Did you do the test? If so, could you share the test url to compare the code?
Many tahnks in advane
I wonder if you set it up correctly per userfield.
Hi Milbo,
See atached the screenshot of the userfield.
I tried with another one but same result.
Interesting, yes. The custom userfield "tos" works as expected, but not the standard checkboxes. I wonder, cant be hard to fix
Hey Milbo,
Happy to see that I'mnot crazy :-)
Hope you will succeed to solve this.
Change the field name to "tos" instead of "tos_agreed". You will need to create a new one and unpublish the existing one. The type of the field should be "custom".
Next go to VirtueMart Configuration and enable the option called "Must agree to Terms of Service on EVERY ORDER".
Now check again.
yeh, then he just uses the custom layout for the tos.
And I think the checkbox stuff works in the cart, but not for the addresses. He is right, it should be fixed, but atm it has a very low priority. julos you can speed this up by supporting the project, buying a membership and write a ticket that you wanna have this fixed. greets
https://extensions.virtuemart.net/support/virtuemart-supporter-membership-bronze-detail
http://extensions.virtuemart.net/ticket