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


  1. valeriewheeler
    Member

    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 10 years ago #
  2. Saghalie
    Pro Member

    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 10 years ago #
  3. Panort
    Member

    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 9 years ago #

RSS feed for this topic

Reply