VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: manwlios on August 01, 2016, 13:58:17 PM

Title: User is created even with errors in registration form
Post by: manwlios on August 01, 2016, 13:58:17 PM
Hello to everyone,

first of all i want to apologize if this topic is covered but as far i searched i didn't found anything specific to this issue.

So, let's say that a customer is in the checkout area and creates his account.

Username: demo
Password: demo
Email: demo@demo.com

name: dave
surname: Paris

etc. etc.

if the user forgot to insert a required field a message pops out to inform him.

And this is where the problem begins.

The form even with an error, will create the user in the backend of joomla, so when the user will fix the missing field and press order... boom!! Error message: This username is allready in use!

This is very frustrating because the user wiill have to choose another username (if he dont leave the shop by the frustration).

The rigth behavior is the user to be created ONLY after all the form fields are correct.

Does anyone faced a similar problem?

Thanks in advance.

Joomla version: 3.6.0
Virtuemart version: 3.0.16
Title: Re: User is created even with errors in registration form
Post by: GJC Web Design on August 02, 2016, 14:40:03 PM
I can#t reproduce this.. just tested.. a JS error popup prevents the form submitting so no user is created

Standard install and templates and no external OPC etc?
Title: Re: User is created even with errors in registration form
Post by: manwlios on August 03, 2016, 14:43:35 PM
Quote from: GJC Web Design on August 02, 2016, 14:40:03 PM
I can#t reproduce this.. just tested.. a JS error popup prevents the form submitting so no user is created

Standard install and templates and no external OPC etc?

GJC thank you for your time. Finally it was an error from the OPC plugin that i was using. By default everything is working fine.