Capitalisation of Letters
Browsers will intentionally not capitalise some letters (and whole words) in the middle of phrases so that they don't look weird in titles. So for instance "The lord of the flies" comes out as "The Lord of the Flies" and "to kill a mockingbird" comes out "To Kill a Mockingbird". It's quite good really - unless of course like us you want to use it for people's names with initials in!
To get around this if it is affecting you in SchemeServe enter this Javascript h to use for all fields that you'd like to correct:
$('ctl00_MainContent_ctl02_Fieldname').value.replace(/[^\s]+/g, function(str){ return str.substr(0,1).toUpperCase()+str.substr(1).toLowerCase(); });
NOTE: You'll need to substitute in the correct field name in the above example.
Hope this Helps!
Please sign in to leave a comment.
Comments
3 comments