VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: 2cool on June 08, 2017, 20:45:54 PM

Title: Possible to check if address also contains number
Post by: 2cool on June 08, 2017, 20:45:54 PM
Hi, Is is possible to check if the address value also contains number(s)?

Using the required only checks if it's not empty, but lots of people forget their address number?
Would be nice if this could be checked....

Or maybe there's another workaround to tackle this.

VirtueMart 3.2.2 and Joomla! 3.7.2
Also using onepagecheckout from virtueplanet

Thanks,
Pas
Title: Re: Possible to check if address also contains number
Post by: K&K media production on June 09, 2017, 21:12:46 PM
use 2 filds ... 1 for the street and 1 for the number
Title: Re: Possible to check if address also contains number
Post by: 2cool on June 10, 2017, 17:05:15 PM
Yes is possible but a bit difficult with invoice and postal modules connected.
There are just a few people who forget so maybe a simple check would be enough...

Thanks,
Pas
Title: Re: Possible to check if address also contains number
Post by: K&K media production on June 10, 2017, 18:11:17 PM
then add a custom JS
Title: Re: Possible to check if address also contains number
Post by: AH on June 11, 2017, 10:53:05 AM
QuoteAlso using onepagecheckout from virtueplanet


You should really as the Virtueplanet guys.  Messing with JS may break the OPC
Title: Re: Possible to check if address also contains number
Post by: 2cool on June 13, 2017, 09:55:21 AM
Ok thanks I will ask them.

Regards,
Pas