Hi --
I saw several threads here giving string manipulation script bits using toUppercaser and such, but I tried various ways to implement them, and failed so far.
If a very kind soul could bear with me and explain step by step where and how I put the script code, I'd be VERY grateful.
I need to :
1/change to upper case Last_name field on Success, i.e.:
lastname to LASTNAME
last-name to LAST-NAME
last name to LAST-NAME
if there is one word : all uppercase ; if there are two words, all upper case for each, if they are separated by anything else than a hyphen, change it.
2/initial capital on First_Name field, given the fact that some first names may be combined, and people may or may not enter a hyphen in between, i.e.:
firstname to Firstname
first-name to First-Name
First-name to First-Name
first name to First-Name
First Name to First-Name
...and so on (basically : if there is one word : initial capital ; if there are two words, initial capital each, if they are separated by anything else than a hyphen, change it.
Also, I think I noticed that some people may add an initial space to a text field (for names for example), that I need be removed too (but only initial space, so a space between two first names would be replaced by a hyphen, but not an initial space).
MANY TIA's.