- oxinstAsked on March 20, 2014 at 04:09 AM
I have a sinlge line text field for a 'Full Name', is there anyway that I can force or automatically format the data entered so the the first letter of each word is a Uppercase letter e.g. Xxxxxx Xxxxxx (obviously the number of characters in each word could vary).
- jedcadornaAnswered on March 20, 2014 at 07:36 AM
Yes that is possible by injecting a custom CSS. Please use this CSS code:
- oxinstAnswered on March 20, 2014 at 12:17 PM
@jedcadorna thanks for the reply. And that does work, however this only forces the text to display like this, the data that is acutually passed through to the backend, is still in the original format. Any ideas on how to get the original data to pass through to the backend in the correct format.
- KadeJMAnswered on March 20, 2014 at 03:07 PM
It sounds like you are seeking some sort of method to reformat everything into a " Proper Format " per say if I'm not mistaken. For instance someone types in their name in all lowercase because they're in a hurry and you want to force it to look a little more appropriate I imagine.
I think you may be trying to achieve something like this for example:
(which would then carry over into the backend) Is this maybe kinda what you are asking for?
You can copy and paste it here - http://htmledit.squarefree.com/ - to test this as live code if you want.
Please confirm or correct me if I've gone offtrack and if so I do apologize.
- Jovier MarkAnswered on May 27, 2015 at 02:00 AM
Full Source......Capitalize the first character of all words