In the times of “World Wide Web” everyone has heard about “JavaScript” and people like us are fully aware of its power when it comes to writing client side scripts to make your web pages interactive. We being Sage CRM Developers have been doing so many things with JavaScript and here is a tricky functionality which we achieved for one of our clients.
The client wanted to capitalize each word while displaying values of certain fields on screen irrespective of how the data was stored in database. One way was to modify the “SQL” query since that would have complicated the matter we choose JavaScript and just modified the value of the variable that is populated by SQL used to display the value on the screen, here is the snippet of the code.