CAN I ENSURE THAT ALL FIELDS ARE COMPLETED IN CAPITAL LETTERS

  • nicrigden
    Asked on July 8, 2014 at 10:58 AM

    Is there a way to convert all text entered onto my form into CAPITAL LETTERS please?

  • Elton Support Team Lead
    Replied on July 8, 2014 at 11:44 AM

    Hi,

    That's possible thru inject CSS but it's only for the form level. Unfortunately, this does not affect the submissions data unless the user actually entered text with capital letters.

    Example:

    #input_1{

    text-transform:uppercase;

    }

    Just replace input_1 with the field ID you want to transform into capital letters.

    How-to-find-Field-IDs-Names

    ----

    However, you can achieve this when you use your form source code and add custom script that would transform text into capital letters and would remain capital when its stored on your form submissions page.

    http://www.jotform.com/help/104-How%20to%20Get%20your%20Form%20Source%20Code

    If you need further assistance, let us know here.

    Regards!

  • nicrigden
    Replied on July 9, 2014 at 9:59 AM

    Hi,

    OK I am interested in using my form source code and adding the custom script as above, however the help link provided doesn't work, could you check it please?

    Regards

    Nic

     

  • Carina
    Replied on July 9, 2014 at 11:44 AM

    Hello Nick 

    I could follow the link provided by Elton, but if you still have troubles with it please go to our advanced features section and search "How to get the Full Source Code of your Form".

    Please let us know if further support is needed.

    Thank you

  • nicrigden
    Replied on July 10, 2014 at 4:12 AM

    Ok I've found it, do you know the script I would need to add to transform text into capital letters that would remain capital when its stored on my form submissions page please?

    Thanks

    Nic

  • jonathan
    Replied on July 10, 2014 at 6:53 AM

    Hi Nic,

    You can find such sample script here

    A sample script is like this 

    1 2 3 String.prototype.capitalize = function() { return this.replace(/(?:^|\s)\S/g, function(a) { return a.toUpperCase(); }); };

    Hope this help. Inform us if you need further assistance.

    Thanks!