This forum is no longer open and is for reading/searching only.
Please use our new MachForm Community Forum instead.
MachForm Community Forums » MachForm 3
Formatting text fields
Started 11 years ago by valeriewheeler | 3 posts |
-
Is it possible to format the text fields so that it will capitalize the first character of words or all caps or all lowercase.
Posted 11 years ago # -
You could possibly change the part of your code to read: strtoupper($_SESSION["user"]) - which would change the whole username to upper case (where
user
is a variable). Of course I don't know what your form is so I can't give you specifics on what really needs to go there.Regards,
Saghalie
Posted 11 years ago # -
If you use this code in the custom css class under field properties for a text field, the first letter will capitalize. If someone types all caps, it will just keep the first letter as capitalized. It will not show as the text is typed into the form but will show corrected in view entries.
div { text-transform:capitalize; }
Posted 10 years ago #
Reply
You must log in to post.