How can I force users to enter only uppercase characters in a field?

  • Profile Image
    ishik
    Asked on April 10, 2015 at 09:09 AM

    the name and surnames should be capital.

  • Profile Image
    Syed
    Answered on April 10, 2015 at 09:26 AM

    Hi there;

            To edit font style, please Inject Custom CSS Code at the end, and review the following cases for either Capitalize or UPPERCASE.

    For Capitalize:

    #first_4, #last_4 {text-transform: capitalize;}

    For Uppercase:

    #first_4, #last_4 {text-transform: uppercase;}

    Please will let us know, if you need further assistance on this, we would be happy to assist you :)

     

    Kind Regards;

    - Syed

  • Profile Image
    ishik
    Answered on April 10, 2015 at 01:00 PM

    thanks

  • Profile Image
    Syed
    Answered on April 10, 2015 at 01:07 PM

    Hi Ishik;

           Please will let us know, if you have questions/queries.


    Have a great weekend!

    Thankyou,

    - Syed

  • Profile Image
    ishik
    Answered on April 11, 2015 at 02:35 PM

    hi

    your solution is working on my computer. how can they do I don't now but they are filling with small letter. we can see of the following picture

  • Profile Image
    raul
    Answered on April 11, 2015 at 07:03 PM

    The code my colleague provided above is to change the appearance of the entered characters in the text box, but in the submissions screen you'll see the entered characters as they were typed in the form.

    If you want to force the submitted data to be also in uppercase characters then you'll need to use the full source code of your form and a custom script like the ones provided here: http://stackoverflow.com/questions/13155261/convert-to-upper-case-while-typing-with-some-delay

    Let us know if this helps.