This forum is no longer open and is for reading/searching only.
Please use our new MachForm Community Forum instead.
MachForm Community Forums » MachForm 4
Force UpperCase
Started 9 years ago by eventura | 3 posts |
-
Hi Guys
Is there any way to force the data to be converted to UPPERCASE, e.g.. automatically convert london to LONDON or w1 2hr to W1 2HR without having to get the user to do it?
Any ideas?
Cheers
Chris
Posted 9 years ago # -
Yes you can do it with CSS using the text-transform property. You would need to add the necessary CSS to the "Advanced CSS" section of the theme for your form.
Posted 9 years ago # -
//Set field to UPPER CASE
$sql = "update
YOUR TABLE
\n"
"setYOUR FIELD
= UCASE(YOURFIELD
)";EnuffSaid
Posted 9 years ago #
Reply
You must log in to post.