Buy Cheap Software - Discount Software
pimpMyJoomla Board
Welcome, Guest
Please Login or Register.
Lost Password?
How do I insert a title for each section (1 viewing)
_GEN_GOTOBOTTOM Post Reply

TOPIC: How do I insert a title for each section

#76
ovi (User)
Senior Boarder
Posts: 15
graphgraph
How do I insert a title for each section 2007/05/09 13:51 Karma: 0  
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 topic has been locked.
#77
alex (Admin)
Admin
Posts: 301
graph
Re:How do I insert a title for each section 2007/05/09 13:54 Karma: 8  
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 topic has been locked.
#82
ovi (User)
Senior Boarder
Posts: 15
graphgraph
Re:How do I insert a title for each section 2007/05/09 14:38 Karma: 0  
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 topic has been locked.
#84
crazycat (User)
Platinum Boarder
Posts: 73
graphgraph
Re:How do I insert a title for each section 2007/05/09 15:29 Karma: 1  
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.

Post edited by: crazycat, at: 2007/05/09 16:05
As soon as you make something idiot proof, Nature makes better idiots!!!
  The topic has been locked.
#91
ovi (User)
Senior Boarder
Posts: 15
graphgraph
Re:How do I insert a title for each section 2007/05/09 18:09 Karma: 0  
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 topic has been locked.
#92
ovi (User)
Senior Boarder
Posts: 15
graphgraph
Re:How do I insert a title for each section 2007/05/09 18:09 Karma: 0  
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 topic has been locked.
#93
crazycat (User)
Platinum Boarder
Posts: 73
graphgraph
Re:How do I insert a title for each section 2007/05/09 18:35 Karma: 1  
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:

Code:

 <tr>     <td align="right" valign="top" class="fieldtitleclass">{fieldtitle}{validationsign}</td>     <td valign="top" class="fieldclass">{field}</td>     <td valign="top" class="fielddescclass">{fielddesc}</td> </tr>



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:

Code:

  /*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 topic has been locked.
#99
ovi (User)
Senior Boarder
Posts: 15
graphgraph
Re:How do I insert a title for each section 2007/05/09 19:11 Karma: 0  
That worked.
Thanks a lot.

Ovi
  The topic has been locked.
#101
crazycat (User)
Platinum Boarder
Posts: 73
graphgraph
Re:How do I insert a title for each section 2007/05/09 19:16 Karma: 1  
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 topic has been locked.
#103
ovi (User)
Senior Boarder
Posts: 15
graphgraph
Re:How do I insert a title for each section 2007/05/09 19:26 Karma: 0  
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.

Post edited by: ovi, at: 2007/05/09 19:27
  The topic has been locked.
_GEN_GOTOTOP Post Reply
© Copyright 2007 Best of Joomla, Powered by FireBoardget the latest posts directly to your desktop