HelpSpot Help Desk Software | HelpSpot Blog | HelpSpot Support

Coding to sentence case the name


#1

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


#2

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


#3

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?


#4

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.