HelpSpot Help Desk Software | HelpSpot Blog | HelpSpot Support

Coding to sentence case the name


Hi there Ian,
Sylvia again…
is there a way in which we can “code” to Sentence Case our first name and last name entries?


I’m not sure what you mean. Can you give an example.


I would like to be able to have Sentence Case for our First Name and Last Name entries (capitalize first letter of both boxes). How would we implement that?


The system will just use however it comes in via email. There’s not directly a way to force them to uppercase the first level. You could implement a custom admin theme and include custom javascript to make that change in the form box.

Another way potentially is to write something custom that looks into the database (or perhaps with a database trigger) and update those columns to always be uppercase first letter.