Welcome, Guest. Please login or register.
Did you miss your activation email?
May 24, 2012, 11:19:16 PM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
155473 Posts in 21708 Topics by 7734 Members
Latest Member: rofroodoOvego
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: Display feild label horizontally above the field?  (Read 436 times)
brent

Offline Offline

Posts: 83


« on: December 10, 2008, 07:50:53 AM »

Hello,
I created a contact page. It has a checkbox group field with several options. The label for the field is "I would like more specific information about the following" .

Is there a way to have the field label display horizontally above the check boxes instead of squeezed vertically to the left of the checkbox?

Thanks
Brent

Logged
vyni

Offline Offline

Posts: 566


« Reply #1 on: December 11, 2008, 12:31:20 PM »

Hi brent,

You can format this in the settings of Your form.

If You used the form-module for creating the contact page, go to settings and replace the code in section
Field Loop
Code:
<tr><td class="field_title" colspan="2">{TITLE}{REQUIRED}:</td></tr>
<tr><td class="field_opt"  colspan="2">{FIELD}</td></tr>

now You have the wanted result.
Go to edit css and insert a new class "field_opt" to style font and color of the option-line.

regards from Himberg, next to Vienna
Logged

PS: Falls jemand eine Idee hat was zu tun ist und mir das erklären könnt - geh bitte davon aus dass ich ahnungslos bin, was php und so betrifft. Ich kann grad was lesen, kopieren und einfügen,  ungefähr verfolgen und glauben.
brent

Offline Offline

Posts: 83


« Reply #2 on: December 12, 2008, 07:42:56 AM »

Thanks,
That did the trick!
Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!