News:

Support the VirtueMart project and become a member

Main Menu

Ask a Question, Users Name cannot have spaces?

Started by hifut, August 20, 2012, 16:45:43 PM

Previous topic - Next topic

hifut

I have just discovered that on the "Ask a Question About This Product" form, if a user types in a full name with a space, i.e. "John Smith" - it doesn't validate and generates an error and clears the form.

Error is: Some Fields are invalid, please verify your inputs

My question is, how do I change the validation (what file?) so that a full name can be entered with a space.

Using: Virtuemart 2.0 on Joomla 2.5.4
Site: www.ainsberry.com

jenkinhill

That bug was fixed I think in the 2.0.8 series. The form works fine in 2.0.9b
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

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

hifut

Thanks for that, but it's a live site, I can't just do a wholesale update, any idea which file/files is/are involved?

jenkinhill

Update on a backup copy - if OK then use that to replace the live site, as there are a lot of changes and bug-fixes. If you are using VM2.0.0 then be aware that it has a security issue.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

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