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

  • Profile Image
    omer
    Answered 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.

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

    Hi chaoticpotato2.  

     

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

     

    Thanks

  • Profile Image
    ashwin_d
    Answered on April 26, 2014 at 06: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!

  • Profile Image
    johannagomez
    Answered on April 26, 2014 at 07:31 AM
    Perfect!!!! I am sorry, I am new in this.
    2014-04-26 12:36 GMT+02:00 JotForm Support Forum :
    ...
  • Profile Image
    johannagomez
    Answered on April 28, 2014 at 05: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.

     

  • Profile Image
    omer
    Answered on April 28, 2014 at 07: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.