• 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: Style attributes

Style attributes 11 years 7 months ago #24955

I tried to use this:

www.rsjoomla.com/support/documentation/v...s-default-value.html

in order to have label inside input field and when you try to fill in to get disappeared.

I have one problem and one question:
1. Problem: When the form loads i see no label inside field. Only when i click inside the field for the first tiem and then click outside then i see the label. I need to see the label when the form loads.

2. Question: Can i style the values in attributes?
The code is this:
onfocus="if (this.value=='First Name*') this.value='';"
onblur="if (this.value=='') this.value='First Name*';"

and i want to make the First Name text that is used in code with style (bold with different font size and color.

Can i do this and how?

Thank you in advance
The administrator has disabled public write access.

Style attributes 11 years 7 months ago #24971

Hello Boudalakis,

1. In this case simply place the same placeholder value in the field's Default Value field.

2. You can also place a style property in the field's Additional Attributes area, by simply placing it underneath your Javascript triggers.
Please remember that my responses aren't considered customer support, to receive customer support please submit a new customer support ticket, and we will gladly assist you.

Best Regards,
Cristian Nicolae.
The administrator has disabled public write access.

Style attributes 11 years 5 months ago #25680

Please could you give a example of the code to use a different font color?

Thank you
The administrator has disabled public write access.

Style attributes 11 years 5 months ago #25683

  • alexp
  • alexp's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 2253
  • Thank you received: 180
@payments7

W3C provides a lot of examples:

http://www.w3schools.com/css/css_text.asp
Please note: my help is not official customer support. To receive your support, submit a ticket by clicking here
Regards,
RSJoomla! Development Team
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!