• 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 do I insert a title for each section

How do I insert a title for each section 16 years 11 months ago #76

  • ovi
  • ovi's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 15
Hi,

My form has few sections and till now I couldn't find a way to separate them and to add a title for each section.
Could you have a field type for it?
If there is another way to do it, could you please let me know?

Thanks.

Ovi
The administrator has disabled public write access.

Re:How do I insert a title for each section 16 years 11 months ago #77

  • alex
  • alex's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 443
  • Thank you received: 3
The only way to do it with the current version is to add a hidden field like \"sep\" with the section title you wish, but a label field will be added in the next release. Thanks for the suggestion.
The administrator has disabled public write access.

Re:How do I insert a title for each section 16 years 11 months ago #82

  • ovi
  • ovi's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 15
Thanks.
Is there a way to change the style of the Field title?
I want it to be bold with a bigger font, let say...
I've tried to use Additional attributes field but i can't get it working.
The administrator has disabled public write access.

Re:How do I insert a title for each section 16 years 11 months ago #84

  • crazycat
  • crazycat's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 77
ovi wrote:
Thanks.
Is there a way to change the style of the Field title?
I want it to be bold with a bigger font, let say...
I've tried to use Additional attributes field but i can't get it working.

Just define class for field title surrounding <td> tag and place corresponding line to your templates' css file. The source code for editing is under \"Form Style\" tab below \"Edit the field style:\" in Forme Admin.
e.g. <td align=\"right\" valign=\"top\" class=\"test\">{fieldtitle}{validationsign}</td>

now you can style field titles' font the way you want to by writing a line to your templates' css file, e.g table.forme td.test{font:bold 1.2 em arial;}

works for me.<br><br>Post edited by: crazycat, at: 2007/05/09 16:05
As soon as you make something idiot proof, Nature makes better idiots!!!
The administrator has disabled public write access.

Re:How do I insert a title for each section 16 years 11 months ago #91

  • ovi
  • ovi's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 15
Thanks crazycat.
My intention was to use the hidden Field type to create a title/subtile for my sections within the form.
Only that Field Title I wanted to customize as style.
Your solution is for all titles, using the class. I guess... cause I did not get it working for me.
The administrator has disabled public write access.

Re:How do I insert a title for each section 16 years 11 months ago #92

  • ovi
  • ovi's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 15
Thanks crazycat.
My intention was to use the hidden Field type to create a title/subtile for my sections within the form.
Only that Field Title I wanted to customize as style.
Your solution is for all titles, using the class. I guess... cause I did not get it working for me.
The administrator has disabled public write access.

Re:How do I insert a title for each section 16 years 11 months ago #93

  • crazycat
  • crazycat's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 77
ovi wrote:
Thanks crazycat.
My intention was to use the hidden Field type to create a title/subtile for my sections within the form.
Only that Field Title I wanted to customize as style.
Your solution is for all titles, using the class. I guess... cause I did not get it working for me.

correct. this is exactly what you need.

here:
&lt;tr&gt;
	&lt;td align=\&quot;right\&quot; valign=\&quot;top\&quot; class=\&quot;fieldtitleclass\&quot;&gt;{fieldtitle}{validationsign}&lt;/td&gt;
	&lt;td valign=\&quot;top\&quot; class=\&quot;fieldclass\&quot;&gt;{field}&lt;/td&gt;
	&lt;td valign=\&quot;top\&quot; class=\&quot;fielddescclass\&quot;&gt;{fielddesc}&lt;/td&gt;
&lt;/tr&gt;

see, there're three different classes for three different elements in this code example. So you can style every element the way you need by writing something like this to your css file:
/*style for field title*/
table.forme td.fieldtitleclass{your_choice_goes_here;}
 
/*style for field*/
table.forme td.fieldclass{your_choice_goes_here;}
 
/*style for field description*/
table.forme td.fielddescclass{your_choice_goes_here;}

Hope this'll help,
cheers,
Adam
As soon as you make something idiot proof, Nature makes better idiots!!!
The administrator has disabled public write access.

Re:How do I insert a title for each section 16 years 11 months ago #99

  • ovi
  • ovi's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 15
That worked.
Thanks a lot.

Ovi
The administrator has disabled public write access.

Re:How do I insert a title for each section 16 years 11 months ago #101

  • crazycat
  • crazycat's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 77
ovi wrote:
That worked.
Thanks a lot.

Ovi

You're welcome! :)
Maybe you could give URL so I could check the results? :)

Cheers,
Adam
As soon as you make something idiot proof, Nature makes better idiots!!!
The administrator has disabled public write access.

Re:How do I insert a title for each section 16 years 11 months ago #103

  • ovi
  • ovi's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 15
I would be happy to show it to you... but this site is not public yet.
I am using Description field combined with hidden Field Type to create Titles for every section withing the form.<br><br>Post edited by: ovi, at: 2007/05/09 19:27
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!