Author Topic: Virtuemart billto form validation does not work  (Read 5146 times)

tonis

  • Beginner
  • *
  • Posts: 40
Virtuemart billto form validation does not work
« on: March 22, 2013, 23:51:50 pm »
Hello

The validation of the billto address form does not work for me. Only the "required field validation" works fine. The email field is not validated.
Whats strange, the validation works fine on "ask question about this product".

VM 2.0.18a
J 2.5.9.

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10375
  • VirtueMart Version: 3+
Re: Virtuemart billto form validation does not work
« Reply #1 on: March 23, 2013, 01:31:25 am »
what do you mean?

what does it do?

J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

tonis

  • Beginner
  • *
  • Posts: 40
Re: Virtuemart billto form validation does not work
« Reply #2 on: March 23, 2013, 14:57:45 pm »
Nothing :)

Only when required form fields are empty, then it shows the default javascript warning that the "fields are required" (not the VM script warning like on "ask a question about product"). I can write anything i want to the email address and the order continues.

I do not require registration from the customers.

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10375
  • VirtueMart Version: 3+
Re: Virtuemart billto form validation does not work
« Reply #3 on: March 23, 2013, 15:09:02 pm »
oh,

i might can try and see how to do this, but cant do it until monday
J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27570
  • Always on vacation
    • Jenkin Hill Internet
Re: Virtuemart billto form validation does not work
« Reply #4 on: March 23, 2013, 15:28:50 pm »
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VM 3.6.8.10197 on Joomla 3.9.13 PHP 7.0.33

tonis

  • Beginner
  • *
  • Posts: 40
Re: Virtuemart billto form validation does not work
« Reply #5 on: March 24, 2013, 21:14:01 pm »
To include <jdoc:include type="message" /> does not help, its the same with or without it (anyway, i have this declaration in template body).

zanardi

  • Contributing Developer
  • Full Member
  • *
  • Posts: 878
    • GiBiLogic
Re: Virtuemart billto form validation does not work
« Reply #6 on: April 11, 2013, 12:49:03 pm »
I can confirm the issue on VirtueMart 2.0.20b. I can insert a wrong e-mail address and it is saved without warnings.
--
Francesco (zanardi)
http://extensions.gibilogic.com
@gibilogic on Twitter

AH

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3014
  • VirtueMart Version: 3.6.3
Re: Virtuemart billto form validation does not work
« Reply #7 on: May 21, 2013, 19:06:36 pm »
Same here email address is not validated
regards
A

Joomla 3.9.12
php 7.2

tjrayner

  • Beginner
  • *
  • Posts: 9
Re: Virtuemart billto form validation does not work
« Reply #8 on: June 06, 2013, 19:13:34 pm »
Did you get to the bottom of this as I have the same issue?

AH

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3014
  • VirtueMart Version: 3.6.3
Re: Virtuemart billto form validation does not work
« Reply #9 on: June 07, 2013, 20:51:38 pm »
yes in the userfield view the field is just set to validate that it is required, the email validation using "myValidation" has not been configured for this field.

Could do with being fixed in a release
regards
A

Joomla 3.9.12
php 7.2

kamstrup

  • Beginner
  • *
  • Posts: 16
Re: Virtuemart billto form validation does not work
« Reply #10 on: July 17, 2013, 10:36:12 am »
It is not just the e-mail validation.

I have just had a customer, something must be wrong with her!
She put:
first name in Company name
zip-code in address1
City in address2
phonenumber in zip-code

Our warehouse caught this when putting the(automatically printed label) on the package.

Frustrating that this is possible.

On 2.0.20b

AH

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3014
  • VirtueMart Version: 3.6.3
Re: Virtuemart billto form validation does not work
« Reply #11 on: July 17, 2013, 13:13:22 pm »
email validation has not worked for some while, even though there is code around in the files to do it, I think that the developers have decided that the validation was not robust enough and would cause issues if implemented

As for ZIP code validation this is a country specific issue and cannot be implemented for everyone

For example if validate for numerics only (great for the US), but such validation would stop UK shops!

You can write your own validation and put it in an override in edit_address.php

regards
A

Joomla 3.9.12
php 7.2

lindapowers

  • Full Member
  • ***
  • Posts: 1335
  • If you're going through hell, keep going.
    • Venta de naranjas online y mandarinas
  • Skype Name: manu.gonzalez91
  • VirtueMart Version: Latest avi
Re: Virtuemart billto form validation does not work
« Reply #12 on: July 17, 2013, 14:46:11 pm »
It is not just the e-mail validation.

I have just had a customer, something must be wrong with her!
She put:
first name in Company name
zip-code in address1
City in address2
phonenumber in zip-code

Our warehouse caught this when putting the(automatically printed label) on the package.

Frustrating that this is possible.

On 2.0.20b


Well man that is normal and happens to us many times, customers write the city together with the zip code in the zip code field or their name in the company name.

Is called a human error and is more than normal, I don't expect VM2 to solve human errors.

Doest it really affect so much? field names are not even printed just the values.

Even more I like the fact that VM2 doesn't validate the e-mail.

You guys forget that some of us actually use invalid e-mails in purpose (telephone orders, customers that don't have an e-mail account).

Regards

mirrorsandglass

  • Jr. Member
  • **
  • Posts: 165
  • Time Is Precious, Waste It Wisely
Re: Virtuemart billto form validation does not work
« Reply #13 on: July 17, 2013, 18:55:30 pm »
You guys forget that some of us actually use invalid e-mails in purpose (telephone orders, customers that don't have an e-mail account).
Fine, but the option should be there. :-)

BluCloud Interactive

  • Beginner
  • *
  • Posts: 4
  • BluCloud Interactive | Creative Agency
    • BluCloud Interactive | Creative Agency
[SOLVED] Virtuemart billto form validation does not work
« Reply #14 on: October 11, 2013, 23:46:52 pm »
Dear Forum members,

We were facing this same issue, but we already found a solution for it.

You can find it from the following address: http://forum.virtuemart.net/index.php?topic=119490.0

Enjoy!
Best regards,

BluCloud Interactive | Creative Agency
info@blucloud.eu
http://www.blucloud.eu/