2 column contact form

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
josephinex21
New Member
New Member
Posts: 8
Joined: Sun May 04, 2014 9:55 am

2 column contact form

Post by josephinex21 »

Hi,

I need 2 column contact form, that is 2 blocks and have no idea how to write in the template so it works. I am completely new to this cms and there's a huge lack of documentation and information.
I need items with a particular css class to be aligned on the right and the rest on the left. By default the input and label are wrapped in a div. How to access that div's class? I have tried something like this but it didn't help much.

[code]{if $entry->css_class=='formgroup-right'}
<div class="right-side">
.............
</div>
{/if}[/code]
Kumquats
Forum Members
Forum Members
Posts: 11
Joined: Tue Feb 04, 2014 10:34 am

Re: 2 column contact form

Post by Kumquats »

In Formbuilder choose "fieldset" (Start and End) to separate the two columns and apply your css to each...
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: 2 column contact form

Post by Dr.CSS »

You can set class to the individual input divs on the second tab when adding/editing them, and yes wrapping the set of inputs in their own fieldset helps a lot, you can then float left/set width on these fieldsets...
Post Reply

Return to “Modules/Add-Ons”