Saving records with capitalize css

  • BrentwoodHalfMarathon
    Asked on November 13, 2017 at 11:03 AM

    Just experimenting before embedding in main forms. Trying to automatically capitalize names/address entry details using CSS.  On form 'Test' have successfully forced any name/address field to capitalize the first letters and whilst it looks fine on the form it seems to still save it as lowercase (as entered originally) How do you ensure the capitalized information is saved as the record.

    Thanks


    Richard

  • Chriistian Jotform Support
    Replied on November 13, 2017 at 12:19 PM

    It is currently not possible to save the information inputted as displayed using Custom CSS code. There is no current option available that will help you with this. The data is stored in our database based on user input. The added custom CSS code only reflects on the display of the form, not on the actual saving of the data.

  • BrentwoodHalfMarathon
    Replied on November 13, 2017 at 12:32 PM

    Begs the question. what is the point of having the css facility!

  • Elton Support Team Lead
    Replied on November 13, 2017 at 2:10 PM

    Injecting CSS codes is basically for the form level only. Any changes in the form style through CSS won't affect the submissions data. This means if the value entered is "john", it will be saved as "john" even if the CSS changes its casing.

    Alternatively, you can capitalize data on emails. Guide: https://www.jotform.com/help/162-Capitalizing-the-First-Letter-of-Every-Field-Value-on-Email

    There's also another workaround but it would require using your form source code so you can add custom scripts that would manipulate the actual value and change its casing. We can assist you with the script. Just let us know here.