Normalize Their Names In A Web-Form
Friday, November 10th, 2006When people input their names the data goes in the same format to the Data Base, and I have to correct each time manually.
I will explain you what I would like with examples:
If the name input is: “RAUL”, I need it transformed to: “Raul”
If the name input is: “RAúL”, I need it transformed to: “Raúl”
If the name input is: “raúl”, I need it transformed to: “Raúl”
If the name input is: “rAUl”, I need it transformed to: “Raul”
If the name input is: “raUL”, I need it transformed to: “Raul”… from correspondence
Some of autoresponders can capitalize the first letter of names, another can’t. You can force this with any autoresponder and opt-in / squeeze forms.
This simple JavaScript code allows you to normalize the format of names before your web-form is sent to a server.