• 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: How to use Additional attributes

How to use Additional attributes 16 years 11 months ago #193

  • ovi
  • ovi's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 15
Could you give an example that works with Field's Additional attributes ?
I am trying to make a field having a different font size, color, center... using Additional attributes and I cannot get it working.
This is the description from the Field Form:
\"You can add here additional field attributes such as
The administrator has disabled public write access.

Re:How to use Additional attributes 16 years 11 months ago #195

  • alex
  • alex's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 443
  • Thank you received: 3
simply add style=\"width:300px;color:red;\" to a textfield Additional Attributes. On the output side, Forme will output <input ... style=\"width:300px;color:red;\"/> which will change format of your field. You could also add some javascript like onchange=\"alert('hello');\" to it..
The administrator has disabled public write access.

Re:How to use Additional attributes 16 years 11 months ago #196

  • ovi
  • ovi's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 15
I added style=\"width:300px;color:red;\" and nothing can be seen different. Neither Field Preview or the published page itself shows the field changed.
That's why I posted the question...
Am I missing something ...?<br><br>Post edited by: ovi, at: 2007/05/11 13:20
The administrator has disabled public write access.

Re:How to use Additional attributes 16 years 11 months ago #197

  • Jilic
  • Jilic's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 33
i see sometimes that in a text field there is an \"example\" text. usually something like light grey, instead of black.
And when you click it, that disappears.

I saw it's possible to pre-enter a text in a field. but how can I make it clear when someone wants to type.? (currently you need to delete first when something is pre-entered.)

I would guess it's something like <onclick='clear'> or something like it.... can't find the correct code on the web, or at least didn't get it to work yet... (hihihih)

Thanks again.
The administrator has disabled public write access.

Re:How to use Additional attributes 16 years 11 months ago #198

  • alex
  • alex's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 443
  • Thank you received: 3
OK, seems like this is a bug. I'll fix it and let you know.
The administrator has disabled public write access.

Re:How to use Additional attributes 16 years 11 months ago #199

  • ovi
  • ovi's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 15
You are right.
It is working for the Field Value.

It is possible to have the same Additional Attributes for Field Title and Field Description?
Actually I was looking to have the Field Title changed, now that you have added the free text Field Type.
The administrator has disabled public write access.

Re:How to use Additional attributes 16 years 11 months ago #200

  • alex
  • alex's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 443
  • Thank you received: 3
as a quick solution till i fix it, remove the quotes: style=width:300px;color:red;
The administrator has disabled public write access.

How to use Additional attributes for Field Title 16 years 11 months ago #205

  • ovi
  • ovi's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 15
What about Additional Attributes for Field Title and Field Description?
The administrator has disabled public write access.

Re:How to use Additional attributes for Field Titl 16 years 11 months ago #210

Hi

Actually i am having trouble adding attributes to the free text. Can anyone give example how i can manipulate the free text? Some thing like <h1> would do.... Thanks! Good component.
The administrator has disabled public write access.

Re:How to use Additional attributes for Field Titl 16 years 11 months ago #212

  • ovi
  • ovi's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 15
Because Free text allows you to show only the Field Title which does not take these attributes. Free text was added by the Author to allow subtitles to be insert.
If you set to be text instead of free text and you have a string into Default field value you will see these attributes applied.

I see like a huge improvement if Field title and Field Description will have Additional attributes.<br><br>Post edited by: ovi, at: 2007/05/11 15:16
The administrator has disabled public write access.

Re:How to use Additional attributes for Field Titl 16 years 11 months ago #213

How to make something that look like \"Contact Us\" and \"General Contact\" under Contact Us tab of this website?



Attachments:
The administrator has disabled public write access.

Re:How to use Additional attributes 16 years 11 months ago #240

  • Jilic
  • Jilic's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 33
If you know how to program in PHP / HTML, then you can edit the layout style on the \"Form Style\" tab. There you have 2 fields, 'Edit the Form style' and 'Edit Field Style'.

and like it says... Do not touch this unless you know what you do. :)
The administrator has disabled public write access.

Re:How to use Additional attributes 16 years 11 months ago #278

  • alex
  • alex's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 443
  • Thank you received: 3
Yes, i have to please both expert/non-expert users though.. I will have to find a solution that pleases both :)
The administrator has disabled public write access.

Re:How to use Additional attributes 16 years 11 months ago #298

  • crazycat
  • crazycat's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 77
Blue pill or Red pill? :laugh:
As soon as you make something idiot proof, Nature makes better idiots!!!
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!