VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: dnlvsci on February 14, 2019, 20:22:33 PM

Title: "bug" in vmvalidator.js
Post by: dnlvsci on February 14, 2019, 20:22:33 PM
Hy folks!

i'm using com_virtuemart.3.4.3.10014 and making template override. When I'm using custom input class in editaddress view and forget filling required registration filed (usename, name, password, password2), the validator override my input class code (only the 4 fields).

In vmvalidator.js line 82 (elem.attr('class', requ);) should elem.addClass(requ); This solved my problem, and working good for me but I thought it would be better to have a core feature not an template override.

Bye ;)