VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: baldo92 on December 14, 2016, 10:40:05 AM

Title: save customer datas in capital letter
Post by: baldo92 on December 14, 2016, 10:40:05 AM
Good morning,

I would like to know if it was possible modifying the code or having a free plugin to save customer datas in capital letter.

Thank you in advance
Kind regards
Title: Re: save customer datas in capital letter
Post by: jenkinhill on December 14, 2016, 12:52:37 PM
Don't understand what you want to do. See http://forum.virtuemart.net/index.php?topic=104795.0
Title: Re: save customer datas in capital letter
Post by: baldo92 on December 14, 2016, 15:25:39 PM
I have an e-commerce site and I would like that when a customer inserts their own data and click the register button, the information is saved to the database in uppercase.

Title: Re: save customer datas in capital letter
Post by: Milbo on December 15, 2016, 14:44:08 PM
You can do that with an hidden userfield, which is set to "custom" and loads the layout from "sublayouts" (like the tos userfield does). Then add a js there, which transforms the input automatically to uppercase.