Force capital letters in name

  • Pierre Cretin
  • Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 9 months ago - 6 years 9 months ago #100167 by Pierre Cretin
Force capital letters in name was created by Pierre Cretin
Hello,

Your extension is absolutely fantastic, and allows me to do almost everything I need.
I just haven't been able to figure out how to force all the first letters of the first names to be capitalized, and how to force the entire name field to be capitalized. For example, if a user registers as joAnne may Smith, I'd like to get Joanne May SMITH.

Is there a way to achieve this?

Many thanks!
Last edit: 6 years 9 months ago by Pierre Cretin.

Please Log in or Create an account to join the conversation.

More
6 years 9 months ago #100178 by Laurent Robin
Replied by Laurent Robin on topic Force capital letters in name
add this line to your custom.css
input#last_name {text-transform: uppercase;}
this should do what you need.

Please Log in or Create an account to join the conversation.

More
6 years 9 months ago #100204 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Force capital letters in name
The solution which Laurent provided, I guess, just solve the display issue. If you want to store data in that actual format, you will need to customize the code

We can help with customizing code. However, the problem is that the customization will be lost when you update to future releases of the extension

If you really need it, you can submit a support ticket sending us super admin account of your site. I can help doing this modification

Tuan

Please Log in or Create an account to join the conversation.