cformsII Support Forum
Current User: Guest *Frequently Asked Questions*
Search 
Search Forums:


 




Radio button layout

Add a New Topic Reply to Post
Post

Paul Johnson - Guest

10:24 am - February 5, 2008

Please replace the ??? with your data!

  • Your URL: http://???
  • The browser used: ???
  • cforms version: ???
  • Your Wordpress version: ???

Is there any way in CSS of adjusting the layout of the radio buttons so that they spread horizontally instead of vertically. I have a number of yes / no radio buttons that would look much better if they were spaced on one line instead of 2.

 

Thanks to anyone who can provide assistance.

Oliver - Admin

7:14 pm - February 5, 2008

posts 3549

With the new release  (v7.4 avail. soon) the <BR>  will be removed and by default they'll be aligned sequentially.

If you need it right away, go into cforms.php and remove $break in line ~1450.

You may also need a few CSS changes (label/span width to
accommodate).

AdamK - Guest

6:29 pm - April 17, 2008

Funny, I'm trying to accomplish the exact opposite - I want my radio buttons to each show up on their own line. (In fact, I'm trying to get everything to have it's own line; labels above field boxes, etc.)


Ideas?

Oliver - Admin

8:03 pm - April 17, 2008

posts 3549

Sure, upgrade to the latest version, the radio box -dialog should come with the option to check line breaks...

AdamK - Guest

10:13 pm - April 17, 2008

Awesome - that did the trick perfectly. Thanks so much.

I'd post the url, but the site's just in staging at the moment... so here's a screenshot:


Atamido - Guest

6:16 pm - August 19, 2008

Is there a way to list the options vertically in 8.6.2?  The only way I could find was to add a box around the radio and label by editing lines 620 and 719 in cforms.php.

Oliver - Admin

6:49 pm - August 19, 2008

posts 3549

there is a check box for 'carriage return' so to speak after each radio button option (popup edit field dialog). simply check those.

Add a New Topic Reply to Post


Reply to Topic: Radio button layout
PLEASE READ THE FAQs FIRST! THANK YOU.

NOTE: New Posts are subject to administrator approval before being displayed

Guest Name (Required):

Guest EMail (Required):

Guest URL (required)

Math Required!
What is the sum of: 12 + 5        (Required)

Topic Reply:


 
© Simple:Press Forum - Version 3.1.3 (Build 356)