News:

Support the VirtueMart project and become a member

Main Menu

User is created even with errors in registration form

Started by manwlios, August 01, 2016, 13:58:17 PM

Previous topic - Next topic

manwlios

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

GJC Web Design

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 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

manwlios

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.