how I can bind a text box is in capital letter?

  • johannagomez
    Asked on April 25, 2014 at 11:15 AM
  • omer Jotform Support
    Replied on April 25, 2014 at 11:32 AM

    Hi johannagomez,

    You can do that injecting a line of css into your form. You can open "inject css" section following "Setup & Embed" -> "Preferences" -> "Form Styles" path.

    Please paste the code below into the area:

    .form-all input[type=text], .form-all textarea {text-transform: capitalize;}

    Have a good day.

  • johannagomez
    Replied on April 25, 2014 at 12:21 PM
    Thanks!!
    2014-04-25 17:32 GMT+02:00 JotForm Support Forum :
    ...
  • johannagomez
    Replied on April 26, 2014 at 5:56 AM

    Hi chaoticpotato2.  

     

    I included this line but has not helped. I must do something extra?

     

    Thanks

  • Ashwin JotForm Support
    Replied on April 26, 2014 at 6:36 AM

    Hello johannagomez,

    Upon checking, I found that the custom css shared by my colleague works fine. It does capitalize the first text of the input value.

    Do you want to change all the letters to uppercase?

    If yes, please inject the following custom css code to change the entire text to uppercase:

    .form-textbox, .form-textarea {text-transform: uppercase !important;}

    Hope this helps.

    Do get back to us if you have any questions.

    Thank you!

  • johannagomez
    Replied on April 26, 2014 at 7:31 AM
    Perfect!!!! I am sorry, I am new in this.
    2014-04-26 12:36 GMT+02:00 JotForm Support Forum :
    ...
  • johannagomez
    Replied on April 28, 2014 at 5:45 AM

    Hi again.

     

    when the form is filled capital letter but when my excel fills in google drive letters are not converted to uppercase.

     

  • omer Jotform Support
    Replied on April 28, 2014 at 7:17 AM

    Hi johannagomez, 

    The changes that you made on the form, stay on the form. I mean, you can show the letters uppercase, but as long as the user fills your form with lowercase characters, the data is originally consists of lowercase characters too. 

    If you have further assistance, please let us know.

    Have a good day.