Hi,
I am looking for the simplest solution to automatically transform the fields of customers data registration in uppercase without accent when saving into database.
Any idea ?
Thanks in advance for help.
Steph
[color=#000000][font=verdana, arial, helvetica, sans-serif]string[/font][/color][color=#000000][font=verdana, arial, helvetica, sans-serif] [/font][/color][color=#000000][font=verdana, arial, helvetica, sans-serif]strtoupper[/font][/color][color=#000000][font=verdana, arial, helvetica, sans-serif] ( [/font][/color][color=#000000][font=verdana, arial, helvetica, sans-serif]string $string[/font][/color][color=#000000][font=verdana, arial, helvetica, sans-serif] )[/font][/color]
[color=#000000][font=verdana, arial, helvetica, sans-serif]In the registration form. Sry on phone, so can't see what file to edit[/font][/color]
Not sure strtoupper() will remove accents.
Could also do via css class like:
.toupper input, .toupper textarea {
text-transform: uppercase;
}
And put the appropriate class (toupper) into the surrounding div or outer container.
But I don't think the text-transform will remove accents either.