• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: Capitalize every WORD in text field

Capitalize every WORD in text field 11 years 2 months ago #27010

I am looking for a solution that capitalizes each word in a text field. on the forum are solutions that capitalize only the first letter of the first word or the whole word. Or is it a solution that can be applied to several words in one field (additional attributes)?
The administrator has disabled public write access.

Capitalize every WORD in text field 11 years 2 months ago #27013

  • adrianp
  • adrianp's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 631
  • Thank you received: 146
Hello,

You can try using inline CSS for your field. Within the mentioned Additional Attributes area, you can add:
style="text-transform:capitalize;"
This is not official customer support. To receive your support, submit a support ticket here.
The administrator has disabled public write access.

Capitalize every WORD in text field 8 years 11 months ago #35382

  • mail_alv
  • mail_alv's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
Making CSS attribute works in the text-input only. But it sends the data to the database in the original form.

That means if I type 'jonh' , it will look as 'John' in the text field, but it will store the name in database as 'john' and not as 'John'. How to resolve this?
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!