VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: hifut on August 20, 2012, 16:45:43 PM

Title: Ask a Question, Users Name cannot have spaces?
Post by: hifut on August 20, 2012, 16:45:43 PM
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
Title: Re: Ask a Question, Users Name cannot have spaces?
Post by: jenkinhill on August 20, 2012, 16:54:36 PM
That bug was fixed I think in the 2.0.8 series. The form works fine in 2.0.9b
Title: Re: Ask a Question, Users Name cannot have spaces?
Post by: hifut on August 21, 2012, 17:00:21 PM
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?
Title: Re: Ask a Question, Users Name cannot have spaces?
Post by: jenkinhill on August 21, 2012, 17:09:38 PM
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.