How can I do UPPERCASE just some fields

  • Profile Image
    grisu59
    Asked on February 29, 2012 at 04:19 AM

    How can I add a function to make UPPERCASE some text fields on my form (not all text fileds)?

    For example  LASTNAME I need that will be UPPERCASE

     

    Thanks

  • Profile Image
    emrew86
    Answered on February 29, 2012 at 08:53 AM

    We implemented a new feature. You can take ID of field and you can add CSS for them easier.



  • Profile Image
    grisu59
    Answered on February 29, 2012 at 09:55 AM

    I did it and when I write in the filed all is ok

    but the value inside the field is saved as lowercase!!!

    So in report the fileds are lowercaase :-(

    Help please!

  • Profile Image
    grisu59
    Answered on February 29, 2012 at 11:35 AM

    No solution for this last problem?

    (the value inside the field is saved as lowercase)

  • Profile Image
    idarktech
    Answered on February 29, 2012 at 06:28 PM

    @grisu59,

    You can keep Emre's suggestion and then use my suggestion below to received them as they are.

    Just add CAPITALIZE:  tag inside your form variables on your form notification to automatically transform the first letter field value to uppercase. Please check this example: 

    {CAPITALIZE:fullname3}

    Hope this helps for you. If you have any other questions or concerns, please let us know. Thank you so much!

  • Profile Image
    grisu59
    Answered on March 01, 2012 at 09:49 AM

    The problem is not how I receive in the email (taht it's not so important)

    but how the values are saved in the DB

    In this moment the value is SHOWED Upper but SAVED lower (if the user write lower of course)

    And in the reports is show lower

    I hope you understand

  • Profile Image
    abajan
    Answered on March 01, 2012 at 06:41 PM

    The solution provided by our colleague Liyam in this thread will transform just the first letter in both the "Full Name" and "Last Name" fields to Uppercase on my example form. (Its autoreponder and submission records will display the names with the same capitalization.) Just a couple slight changes to the JavaScript (and CSS, if you want the transformation to show up on the form instantly) would be required to achieve ALL CAPS instead of just Initial Caps. Here's some info on the toUpperCase() method.

    I'll see if I can provide an ALL CAPS version of the demo for you later.

  • Profile Image
    abajan
    Answered on March 01, 2012 at 07:29 PM

    Here's my demo form. If you view the source of the page, you'll see two somewhat similar onBlur events, each coded differently to achieve different outcomes in the "First Name" versus "Last Name" fields. Including those JavaScript events in the appropriate inputs of your own form will achieve the same outcome.

    If you need further help with this, please let us know.

  • Profile Image
    grisu59
    Answered on June 08, 2012 at 07:43 AM

    NO simple solution to SAVE UPPERCASE or CAPITALIZE the informations in databse??

  • Profile Image
    tonipettigrew
    Answered on July 10, 2012 at 06:42 PM

    I am having the same problem.

    I need my DATABASE info to save as ALL UPPERCASE.  I don't care what it looks like on the form or what it looks like in the email that comes to me. I only care that it is ALL CAPS in the actual csv or excel database that is downloaded.

    Is there any way to do this?

    Right now I have to download the database and fix everything and THEN import it to the software I need.

  • Profile Image
    Mike_T
    Answered on July 10, 2012 at 07:13 PM

    @Grisu59,

    I am sorry to inform you, but yet we do not have any simple solution for that.

    @Toni,

    I have replied to your thread.

  • Profile Image
    sudsport
    Answered on December 17, 2014 at 03:21 PM

    Hi,

    Too bad taht 2 1/2 year later we still have the same issue.

    Regards,

    Georges

  • Profile Image
    intelliplans
    Answered on September 09, 2016 at 02:59 PM

    Not working today from ALL Caps to Capitalize as of 9/9/2016.