What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.
We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.
How to capitalize the first letter of the text field?Asked by oxinst 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).
Yes that is possible by injecting a custom CSS. Please use this CSS code:
@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.
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.
Full Source......Capitalize the first character of all words