• 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: Insert html styling on dropdown

Insert html styling on dropdown 13 years 3 months ago #16128

  • veeco
  • veeco's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 5
Hello, I'm new in RS Form, i would like to know if there's way to insert html styling for label in dropdown element, for example

typeA|<strong>Label A</strong>
typeb|No Value for <strong> Label B</strong>
The administrator has disabled public write access.

Insert html styling on dropdown 11 years 6 months ago #25459

  • djaber2000
  • djaber2000's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 33
  • Thank you received: 3
I know this is an old question; but I am looking to do the same thing. With a traditional html form (see example below) you can use option values and apply styling to specific items in a dropdown. In rsforms you don't have that option, as the syntax just gets displayed. You can create a css style, but that effects the entire dropdown and not just specific items.

I wanted to create labels that are bolded in the dropdown...still trying to accomplish this.

Traditional Form-dropdown strong labels
<option value="#"><strong>Andorra</strong></option>
<option value="#">--Grandvalira</option>
<option value="#">--Vallnord</option>
<option value="#"><strong>Austria</strong></option>
<option value="#">--Amadé</option>
<option value="#">--Bad Kleinkirchheim</option>
<option value="#">--Mallnitz</option>
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!