cforms II User Forum

Registration is currently disabled.


Login form protected by Login LockDown.

Lost password?
Advanced Search

— Forum Scope —


— Match —


— Forum Options —


Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
keeping checkboxes together with their labels after a line break
May 3, 2012
10:45 am



I can't find an answer to this problem anywhere.


I'm using checkbox groups in my form. Some groups have so many checkboxes that they appear in two or three lines, which is perfectly fine. The problem is that when the line breaks, the checkbox and its label sometimes get split. So checkbox 'X" is on line 1, but label 'X' is on line 2.


I would love some help on how to keep the checkboxes and their labels together, and force them both to the next line. Or, alternatively, is there a way to force a line break with html? I've tried adding a <br /> tag in the form settings, but to no effect.


Thanks a lot for any help! I'm completely stumped…



May 7, 2012
10:33 am

Hi again,


I just found the answer to my problem! Adding an extra # between the previous label works to force a line break, so the following check box is on the next line.



Forum Timezone: Europe/Berlin

Most Users Ever Online: 959

Currently Online:
25 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

tracedef: 43

mores: 21

Gyrus: 20

frozenwaste: 18

asuffredini: 15

photoworks: 14

Member Stats:

Guest Posters: 3762

Members: 1463

Moderators: 3

Admins: 2

Forum Stats:

Groups: 1

Forums: 4

Topics: 5359

Posts: 18741

Newest Members: juredujmovic, dreamkeeper, rajattyagi, wrokaa, lukass

Moderators: Paul (421), cnymike (8), sonika (95)

Administrators: Oliver (6400), Nicky (3)