VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: gaye2 on October 13, 2012, 12:02:30 PM

Title: virtuemart 2.0.12 registration form tos and state validation
Post by: gaye2 on October 13, 2012, 12:02:30 PM
Hi,
on VM registration form State and TOS ( I agree to the Terms of Service) fields don't get validated! User can register without agreeing to the Terms of Service and without choosing a state... (Although they are both required on configuration)

Is there a way to get them validated?

Thanks

Virtuemart 2.0.12b
Joomla 2.5.7





Title: Re: virtuemart 2.0.12 registration form tos and state validation
Post by: K&K media production on October 13, 2012, 21:13:13 PM
Hi

Please look in your userfield configuration, here you can define the required fields.

Regards
Title: Re: virtuemart 2.0.12 registration form tos and state validation
Post by: gaye2 on October 18, 2012, 10:31:05 AM
Quote from: kkmediaproduction on October 13, 2012, 21:13:13 PM
Hi

Please look in your userfield configuration, here you can define the required fields.

Regards

Hi,
They are all required in our userfield configuration...

There are smilar topics but I couldn't find the solution...
http://forum.virtuemart.net/index.php?topic=99474.0
http://forum.virtuemart.net/index.php?topic=72376.0

Thanks

[attachment cleanup by admin]
Title: Re: virtuemart 2.0.12 registration form tos and state validation
Post by: lipes on October 18, 2012, 13:35:24 PM
same problem here J2.5.7 and VM2.0.12B
my topic here: http://forum.virtuemart.net/index.php?topic=108936.0
Title: Re: virtuemart 2.0.12 registration form tos and state validation
Post by: randomdev on October 29, 2012, 03:45:19 AM
I have the same problem with vm 2.0.6, has this bug been in all versions from 2.0.6 ?
Title: Re: virtuemart 2.0.12 registration form tos and state validation
Post by: winzor on January 03, 2013, 22:55:48 PM
Just found this bug as well.  Bump for some help.
Title: Re: virtuemart 2.0.12 registration form tos and state validation
Post by: remeedella on January 20, 2013, 00:23:15 AM
Is there no solution?

I thought I solved this a long time ago on a different website and now its back on a different newer version of virtuemart. Simply put,
newest virtuemart, newest joomla 2.5

Must be registered to checkout checked, must agree to terms to checkout checked..

Users can checkout regardless, the only thing I`ve done just recently is hide the TOS view in account maintenance page. This is not the underlying cause.
Title: Re: virtuemart 2.0.12 registration form tos and state validation
Post by: phobophil on March 05, 2013, 16:42:46 PM
Hey Ho,

Yes, in january users had to confirm TOS checkbox during checkout, also in my shop. Now it's broken. I don't know if it is my fault or due an update. It seems that only anonymous users have to check the box. In full registration mode the checkbox is checked and validated by default. But why?

There are two new releases out now Release 2.0.18b & Release 2.0.18c. I`am afraid of updating VM Release 2.0.18a because of all changes I made, but It would be nice to know whether TOS is working again, and because of some improvements like "- moved TOS to top of check in cart".

waiting patently for comments
phobophil
Title: Re: virtuemart 2.0.12 registration form tos and state validation
Post by: ericong.kc on March 06, 2013, 16:34:09 PM
Yes having the same problem too in VM2 registration form
also there should be a link for user to click to display the terms of service right? anyone knows how to add that?
Title: Re: virtuemart 2.0.12 registration form tos and state validation
Post by: phobophil on March 06, 2013, 16:50:42 PM
How to add TOS-link is explained here:

http://forum.virtuemart.net/index.php?topic=97156.0
Title: Re: virtuemart 2.0.12 registration form tos and state validation
Post by: jenkinhill on March 06, 2013, 18:12:14 PM
I make agree to TOS compulsory on each purchase using J2.5.9/VM2.0.18+ like this: http://forum.virtuemart.net/index.php?topic=112563.msg378680#msg378680

I have my own TOS in a Joomla article and post the link for that inside the TOS display div (id="full-tos") of  components/com_virtuemart/views/cart/tmpl/default.php  and use the edited template as an override.