BOARDS

planetluc.com discussion board

all about the planetlu.com scripts

You are not logged in.

Announcement

I had to clean the boards due to massive spam. Actually i deleted everything /-one after 1st Oct 2008. It was the only way to get this spam out of the boards. So i'm sorry for all serious users who registered/posted meanwhile.

#1 20-11-2007 00:03:24

mirojp
New member
Registered: 19-11-2007
Posts: 2

brake checkboxes into separate lines

Hi everybody!

I'd like to know how to break checkboxes into several lines so they would be under eachother one in one line.

$fields[] = array("Kaj iz našega programa vas zanima?", "interesi", "checkbox", "{Ekološke pasivne hiše}{Večji objekti}{Ekološka kmetijska poslopja}{Dorel vinske kleti}{Dorel garaže}{Dorel bazeni}{Dorel kamini}{Dorel zvočni zidovi}", "*", "Prosimo izberite vsaj eno področje!");

PLEASE HELP!

Miro

Offline

 

#2 20-11-2007 22:58:32

admin
Administrator
From: Winterhur, Zurich, Switzerland
Registered: 25-11-2004
Posts: 462
Website

Re: brake checkboxes into separate lines

open the form script, go to line 282 and add

Code:

$htmlField .= "<br />";

after this line. this should do what you want.

Offline

 

#3 21-11-2007 10:41:50

mirojp
New member
Registered: 19-11-2007
Posts: 2

Re: brake checkboxes into separate lines

Thank you very much!

This did exactly what I wanted.

Thanks again.

Greetings, Miro

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson

 
 
© 2003-2010 by planetluc.com · Bachtelstrasse 104 · CH-8400 Winterthur | Support | Login |