When 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.
How it works
1) Insert this code above the
</head> tag of your web-page:
2) Now you can use the
normalizeNames( ) function with any web-form at this page with the
onSubmit - attribute.
this “magic”-word as the first argument of the function.
This argument allows the function works with the specified form.
Place the form-field names as the other attributes of the function. This allows you to use the function with various forms. Please take a look at the samples below:
This is a Live sample