• 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: Force UPPERCASE in text field

Force UPPERCASE in text field 4 months 3 weeks ago #43768

  • tony28
  • tony28's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
Hi,

I wish to force a RSFORM PRO text field to be in uppercase (CAPITALIZED) and can't work out the code required, or where to place it?

Any assistance appreciated.
The administrator has disabled public write access.

Force UPPERCASE in text field 4 months 3 weeks ago #43769

  • dragos
  • dragos's Avatar
  • OFFLINE
  • Administrator
  • Posts: 633
  • Thank you received: 116
Hello,

You can try to add the following CSS rule in Form Properties > CSS area:
<style>
  .form-control {
  text-transform: capitalize;
}
</style>
The administrator has disabled public write access.

Force UPPERCASE in text field 4 months 3 weeks ago #43772

  • tony28
  • tony28's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
Hi Drago's,
Thanks for this, however I only want to UPPERCASE a single text field, not the whole form? Is this possible?

Best wishes,
Tony.
The administrator has disabled public write access.

Force UPPERCASE in text field 4 months 2 weeks ago #43773

  • dragos
  • dragos's Avatar
  • OFFLINE
  • Administrator
  • Posts: 633
  • Thank you received: 116
Hello,

Let's assume that you have a field called 'Name'. In the CSS area, you can use the following:
<style>
  #Name {
  text-transform: uppercase;
}
</style>
The administrator has disabled public write access.

Force UPPERCASE in text field 4 months 2 weeks ago #43776

  • tony28
  • tony28's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
Thank you, thank you, thank you Dragos
I would have been able to work that out in a million years!!!

Best wishes,
Tony.
The administrator has disabled public write access.

Force UPPERCASE in text field 4 months 2 weeks ago #43778

  • dragos
  • dragos's Avatar
  • OFFLINE
  • Administrator
  • Posts: 633
  • Thank you received: 116
Hello Tony,

I'm glad I could help.
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!