<?xml version="1.0"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>Appnitro Software Forums Topic: Radio buttons on same line?</title>
<link>http://www.appnitro.com/forums/</link>
<description>Appnitro Software Forums Topic: Radio buttons on same line?</description>
<language>en</language>
<pubDate>Sat, 13 Mar 2010 00:40:49 +0000</pubDate>

<item>
<title>redityo on "Radio buttons on same line?"</title>
<link>http://www.appnitro.com/forums/topic/radio-buttons-on-same-line/page/2#post-8532</link>
<pubDate>Thu, 28 Jan 2010 09:51:58 +0000</pubDate>
<dc:creator>redityo</dc:creator>
<guid isPermaLink="false">8532@http://www.appnitro.com/forums/</guid>
<description>&#60;p&#62;I see.. I found HTML &#34;BR&#34; tag on each choices label in there and that's why you can't get the radio button on the same line.&#60;/p&#62;
&#60;p&#62;Try to edit your form and select that &#34;choice&#34; field, you should see &#34;BR&#34; tag on choice label like this &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;Finalist 2 &#38;lt;br /&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Then remove &#34;BR&#34; tag from there
&#60;/p&#62;</description>
</item>
<item>
<title>davidvictory on "Radio buttons on same line?"</title>
<link>http://www.appnitro.com/forums/topic/radio-buttons-on-same-line/page/2#post-8524</link>
<pubDate>Wed, 27 Jan 2010 22:39:19 +0000</pubDate>
<dc:creator>davidvictory</dc:creator>
<guid isPermaLink="false">8524@http://www.appnitro.com/forums/</guid>
<description>&#60;p&#62;I have that code in the css..http://login.comfortkeepers.com/machform/data/form_5/css/view.css&#60;/p&#62;
&#60;p&#62;still no luck..
&#60;/p&#62;</description>
</item>
<item>
<title>redityo on "Radio buttons on same line?"</title>
<link>http://www.appnitro.com/forums/topic/radio-buttons-on-same-line/page/2#post-8519</link>
<pubDate>Wed, 27 Jan 2010 14:56:03 +0000</pubDate>
<dc:creator>redityo</dc:creator>
<guid isPermaLink="false">8519@http://www.appnitro.com/forums/</guid>
<description>&#60;p&#62;I did't see any custom CSS code in your form, have you try to put these code in your CSS form ?&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;#li_3 label.choice {
	display:inline;
	position:relative;
	margin-left: 0.2em;
	_top:0.2em;
}

#li_3 input.radio {
	display: inline;
	margin-left: 0.5em;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Anyway to see machform version, simply open your &#34;changelog.txt&#34; file  and you can see the latest version in the bottom of the file
&#60;/p&#62;</description>
</item>
<item>
<title>davidvictory on "Radio buttons on same line?"</title>
<link>http://www.appnitro.com/forums/topic/radio-buttons-on-same-line#post-8516</link>
<pubDate>Wed, 27 Jan 2010 08:25:34 +0000</pubDate>
<dc:creator>davidvictory</dc:creator>
<guid isPermaLink="false">8516@http://www.appnitro.com/forums/</guid>
<description>&#60;p&#62;I tried the solutions above (not the table) with no luck putting radio buttons side by side.  here is URL to my form (simple form)..http://login.comfortkeepers.com/machform/view.php?id=5&#60;/p&#62;
&#60;p&#62;Please assist.  Also, how can I determine the version of the software I am running?&#60;/p&#62;
&#60;p&#62;Thank you
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "Radio buttons on same line?"</title>
<link>http://www.appnitro.com/forums/topic/radio-buttons-on-same-line#post-7958</link>
<pubDate>Fri, 13 Nov 2009 17:18:34 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">7958@http://www.appnitro.com/forums/</guid>
<description>&#60;p&#62;Hi tania, &#60;/p&#62;
&#60;p&#62;You can always login to our customer area and download machform package there :)
&#60;/p&#62;</description>
</item>
<item>
<title>tania on "Radio buttons on same line?"</title>
<link>http://www.appnitro.com/forums/topic/radio-buttons-on-same-line#post-7949</link>
<pubDate>Fri, 13 Nov 2009 09:30:22 +0000</pubDate>
<dc:creator>tania</dc:creator>
<guid isPermaLink="false">7949@http://www.appnitro.com/forums/</guid>
<description>&#60;p&#62;Hi, &#60;/p&#62;
&#60;p&#62;My form &#60;a href=&#34;http://www.csvep.com/registration/view.php?id=11&#34; rel=&#34;nofollow&#34;&#62;http://www.csvep.com/registration/view.php?id=11&#60;/a&#62; does not look very good because my client's answers are too long....  Since I did not make a copy (I know beginner error!) of the view-functions.php can you tell me what the original code was so I can replace it back?&#60;/p&#62;
&#60;p&#62;Thanks!
&#60;/p&#62;</description>
</item>
<item>
<title>jintexas on "Radio buttons on same line?"</title>
<link>http://www.appnitro.com/forums/topic/radio-buttons-on-same-line#post-6568</link>
<pubDate>Tue, 14 Jul 2009 00:16:06 +0000</pubDate>
<dc:creator>jintexas</dc:creator>
<guid isPermaLink="false">6568@http://www.appnitro.com/forums/</guid>
<description>&#60;p&#62;I have figured it all out. No problem with the app. or the code. Simple operator error at my end. Always the way isn't it.&#60;/p&#62;
&#60;p&#62;Tanks.&#60;/p&#62;
&#60;p&#62;J
&#60;/p&#62;</description>
</item>
<item>
<title>jintexas on "Radio buttons on same line?"</title>
<link>http://www.appnitro.com/forums/topic/radio-buttons-on-same-line#post-6567</link>
<pubDate>Mon, 13 Jul 2009 23:03:54 +0000</pubDate>
<dc:creator>jintexas</dc:creator>
<guid isPermaLink="false">6567@http://www.appnitro.com/forums/</guid>
<description>&#60;p&#62;Hi,&#60;br /&#62;
I have applied the code changes suggested to view.css and ../includes/view-functions.php without any success at all. has there been some change to the code structure? or are there more specific instructions you can offer. E.G. List the specific .css sheet/s that must be modified, the code to use, and the order to modify them.&#60;/p&#62;
&#60;p&#62;This looks like a great tool, and I thank you for your help.&#60;/p&#62;
&#60;p&#62;J
&#60;/p&#62;</description>
</item>
<item>
<title>smudge on "Radio buttons on same line?"</title>
<link>http://www.appnitro.com/forums/topic/radio-buttons-on-same-line#post-6236</link>
<pubDate>Mon, 15 Jun 2009 22:33:48 +0000</pubDate>
<dc:creator>smudge</dc:creator>
<guid isPermaLink="false">6236@http://www.appnitro.com/forums/</guid>
<description>&#60;p&#62;This works but is tricky. Be nice as a new feature to be able to selsct the layout from the form builder otherwise I have to use the code to specify every id I want to alter. Lots of CSS..&#60;/p&#62;
&#60;p&#62;Inline is useful for:&#60;/p&#62;
&#60;p&#62;Polls&#60;br /&#62;
Surveys&#60;br /&#62;
Date / Credit card / Serial numbers
&#60;/p&#62;</description>
</item>
<item>
<title>LaMaison on "Radio buttons on same line?"</title>
<link>http://www.appnitro.com/forums/topic/radio-buttons-on-same-line#post-4107</link>
<pubDate>Wed, 31 Dec 2008 05:44:21 +0000</pubDate>
<dc:creator>LaMaison</dc:creator>
<guid isPermaLink="false">4107@http://www.appnitro.com/forums/</guid>
<description>&#60;p&#62;redityo,&#60;/p&#62;
&#60;p&#62;Great mod.&#60;/p&#62;
&#60;p&#62;Thanks
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "Radio buttons on same line?"</title>
<link>http://www.appnitro.com/forums/topic/radio-buttons-on-same-line#post-4049</link>
<pubDate>Fri, 19 Dec 2008 15:22:31 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">4049@http://www.appnitro.com/forums/</guid>
<description>&#60;p&#62;Have you tried the above CSS code? That should do it.
&#60;/p&#62;</description>
</item>
<item>
<title>miamiman on "Radio buttons on same line?"</title>
<link>http://www.appnitro.com/forums/topic/radio-buttons-on-same-line#post-4046</link>
<pubDate>Fri, 19 Dec 2008 05:41:57 +0000</pubDate>
<dc:creator>miamiman</dc:creator>
<guid isPermaLink="false">4046@http://www.appnitro.com/forums/</guid>
<description>&#60;p&#62;Sorry guys, but how do you easily set up a horizontal radio button series?&#60;/p&#62;
&#60;p&#62;Do you...?&#60;br /&#62;
Yes / No / Maybe&#60;/p&#62;
&#60;p&#62;Thanks,
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "Radio buttons on same line?"</title>
<link>http://www.appnitro.com/forums/topic/radio-buttons-on-same-line#post-3912</link>
<pubDate>Sat, 06 Dec 2008 13:50:54 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">3912@http://www.appnitro.com/forums/</guid>
<description>&#60;p&#62;Paste me your form URL or shoot an email to customer.service [at] appnitro.com&#60;br /&#62;
I'll check your form.
&#60;/p&#62;</description>
</item>
<item>
<title>teamwebb2008 on "Radio buttons on same line?"</title>
<link>http://www.appnitro.com/forums/topic/radio-buttons-on-same-line#post-3905</link>
<pubDate>Sat, 06 Dec 2008 01:12:53 +0000</pubDate>
<dc:creator>teamwebb2008</dc:creator>
<guid isPermaLink="false">3905@http://www.appnitro.com/forums/</guid>
<description>&#60;p&#62;Darn, looks like I'm going to have to manually align my check boxes, neither of the above worked for me.
&#60;/p&#62;</description>
</item>
<item>
<title>redityo on "Radio buttons on same line?"</title>
<link>http://www.appnitro.com/forums/topic/radio-buttons-on-same-line#post-3502</link>
<pubDate>Sat, 01 Nov 2008 10:01:02 +0000</pubDate>
<dc:creator>redityo</dc:creator>
<guid isPermaLink="false">3502@http://www.appnitro.com/forums/</guid>
<description>&#60;p&#62;Hello Mike,&#60;/p&#62;
&#60;p&#62;Actually it must use the table :) to do so. You should modify some code on &#34;includes/view-functions.php&#34; files. There are 2 main function should change, try to follow there steps :&#60;/p&#62;
&#60;p&#62;1. check box modification&#60;/p&#62;
&#60;p&#62;Replace code between line 558 ~ 580, with this :&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$option_markup = &#38;#39;&#38;#39;;

$option_markup .= &#38;#39;&#38;lt;table width=&#38;quot;580px&#38;quot; border=&#38;quot;0&#38;quot; cellpadding=&#38;quot;0&#38;quot;&#38;gt;&#38;#39;;
$cell_col = 1;

foreach ($element-&#38;gt;options as $option){
	if(!$is_populated){
		if($option-&#38;gt;is_default){
			$checked = &#38;#39;checked=&#38;quot;checked&#38;quot;&#38;#39;;
		}else{
			$checked = &#38;#39;&#38;#39;;
		}
	}else{

		if(!empty($element-&#38;gt;populated_value[&#38;#39;element_&#38;#39;.$element-&#38;gt;id.&#38;#39;_&#38;#39;
		.$option-&#38;gt;id][&#38;#39;default_value&#38;#39;])){
			$checked = &#38;#39;checked=&#38;quot;checked&#38;quot;&#38;#39;;
		}else{
			$checked = &#38;#39;&#38;#39;;
		}
	}

	$option_input = &#38;quot;&#38;lt;input id=\&#38;quot;element_{$element-&#38;gt;id}_{$option-&#38;gt;id}\&#38;quot;
	name=\&#38;quot;element_{$element-&#38;gt;id}_{$option-&#38;gt;id}\&#38;quot;
	class=\&#38;quot;element checkbox\&#38;quot; type=\&#38;quot;checkbox\&#38;quot; value=\&#38;quot;1\&#38;quot; {$checked} /&#38;gt;&#38;quot;;
	$option_label = &#38;quot;&#38;lt;label class=\&#38;quot;choice\&#38;quot; for=\&#38;quot;element_{$element-&#38;gt;id}_{$option-&#38;gt;id}\&#38;quot;&#38;gt;
	{$option-&#38;gt;option}&#38;lt;/label&#38;gt;&#38;quot;;

	if ($cell_col == 1) {
		$option_markup .= &#38;#39;&#38;lt;tr&#38;gt;&#38;#39;;
	}		

	$option_markup .= &#38;#39;&#38;lt;td width=&#38;quot;35%&#38;quot;&#38;gt;&#38;#39; . $option_input . &#38;#39; &#38;#39; . $option_label . &#38;#39;&#38;lt;/td&#38;gt;&#38;#39;;

	if ($cell_col == 3) {
		$option_markup .= &#38;#39;&#38;lt;/tr&#38;gt;&#38;#39;;
		$cell_col = 0;
	}

	$cell_col++;

}

$option_markup .= &#38;#39;&#38;lt;/table&#38;gt;&#38;#39;;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;2. radio option modification&#60;/p&#62;
&#60;p&#62;Replace code between line 485~ 511 (before modification), with this :&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$option_markup  .= &#38;#39;&#38;lt;table width=&#38;quot;580px&#38;quot; border=&#38;quot;0&#38;quot;&#38;gt;&#38;#39;;
$cell_col = 1;

foreach ($element-&#38;gt;options as $option){

	if($option-&#38;gt;is_default){
		$checked = &#38;#39;checked=&#38;quot;checked&#38;quot;&#38;#39;;
	}else{
		$checked = &#38;#39;&#38;#39;;
	}

	//check for populated values
	if(!empty($element-&#38;gt;populated_value[&#38;#39;element_&#38;#39;.$element-&#38;gt;id][&#38;#39;default_value&#38;#39;])){
		$checked = &#38;#39;&#38;#39;;
		if($element-&#38;gt;populated_value[&#38;#39;element_&#38;#39;.$element-&#38;gt;id][&#38;#39;default_value&#38;#39;]
		== $option-&#38;gt;id){
			$checked = &#38;#39;checked=&#38;quot;checked&#38;quot;&#38;#39;;
		}
	}

	$option_input = &#38;quot;&#38;lt;input id=\&#38;quot;element_{$element-&#38;gt;id}_{$option-&#38;gt;id}\&#38;quot;
	name=\&#38;quot;element_{$element-&#38;gt;id}\&#38;quot; class=\&#38;quot;element radio\&#38;quot;
	type=\&#38;quot;radio\&#38;quot; value=\&#38;quot;{$option-&#38;gt;id}\&#38;quot; {$checked} /&#38;gt;&#38;quot;;
	$option_label = &#38;quot;&#38;lt;label class=\&#38;quot;choice\&#38;quot; for=\&#38;quot;element_{$element-&#38;gt;id}_{$option-&#38;gt;id}\&#38;quot;&#38;gt;
	{$option-&#38;gt;option}&#38;lt;/label&#38;gt;&#38;quot;;

	if ($cell_col == 1) {
		$option_markup .= &#38;#39;&#38;lt;tr&#38;gt;&#38;#39;;
	}		

	$option_markup .= &#38;#39;&#38;lt;td width=&#38;quot;35%&#38;quot;&#38;gt;&#38;#39; . $option_input . &#38;#39; &#38;#39; . $option_label . &#38;#39;&#38;lt;/td&#38;gt;&#38;#39;;

	if ($cell_col == 3) {
		$option_markup .= &#38;#39;&#38;lt;/tr&#38;gt;&#38;#39;;
		$cell_col = 0;
	}

	$cell_col++;
}

$option_markup .= &#38;quot;&#38;lt;/table&#38;gt;&#38;quot;;&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>mmaywood on "Radio buttons on same line?"</title>
<link>http://www.appnitro.com/forums/topic/radio-buttons-on-same-line#post-3496</link>
<pubDate>Fri, 31 Oct 2008 17:52:22 +0000</pubDate>
<dc:creator>mmaywood</dc:creator>
<guid isPermaLink="false">3496@http://www.appnitro.com/forums/</guid>
<description>&#60;p&#62;Hello everyone, is there anyway with checkboxes or radio buttons to block them in like a table, so the options align, my issue is that I want only three options per line, while the relative option is great it does not align well, there are around twenty check boxes in my list.. so it starts to look a real jumble.  Thanks  Mike
&#60;/p&#62;</description>
</item>
<item>
<title>katya on "Radio buttons on same line?"</title>
<link>http://www.appnitro.com/forums/topic/radio-buttons-on-same-line#post-3136</link>
<pubDate>Sat, 27 Sep 2008 15:27:03 +0000</pubDate>
<dc:creator>katya</dc:creator>
<guid isPermaLink="false">3136@http://www.appnitro.com/forums/</guid>
<description>&#60;p&#62;Very much appreciated! thank you. worked just right.
&#60;/p&#62;</description>
</item>
<item>
<title>redityo on "Radio buttons on same line?"</title>
<link>http://www.appnitro.com/forums/topic/radio-buttons-on-same-line#post-3135</link>
<pubDate>Sat, 27 Sep 2008 08:00:30 +0000</pubDate>
<dc:creator>redityo</dc:creator>
<guid isPermaLink="false">3135@http://www.appnitro.com/forums/</guid>
<description>&#60;p&#62;try to search &#34;#main_body input.checkbox&#34; and replace with these code&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;#main_body input.checkbox
{
	display:inline;
       _top:0.5em;
	/*height:13px;*/
	/*line-height:1.4em;*/
	/*margin:6px 0 0 3px;*/
	/*width:13px;*/
}&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>katya on "Radio buttons on same line?"</title>
<link>http://www.appnitro.com/forums/topic/radio-buttons-on-same-line#post-3131</link>
<pubDate>Fri, 26 Sep 2008 20:46:18 +0000</pubDate>
<dc:creator>katya</dc:creator>
<guid isPermaLink="false">3131@http://www.appnitro.com/forums/</guid>
<description>&#60;p&#62;Thanks! that seem to do the job. How about the checkboxes&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://holtmusic.com.au/contact/view.php?id=3&#34; rel=&#34;nofollow&#34;&#62;http://holtmusic.com.au/contact/view.php?id=3&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;would you mind telling me how I can put the checkbox next to the name:&#60;/p&#62;
&#60;p&#62;Bubble Machine&#60;br /&#62;
Smoke Machine&#60;br /&#62;
Lasers&#60;br /&#62;
Dry Ice Effect
&#60;/p&#62;</description>
</item>
<item>
<title>redityo on "Radio buttons on same line?"</title>
<link>http://www.appnitro.com/forums/topic/radio-buttons-on-same-line#post-3127</link>
<pubDate>Fri, 26 Sep 2008 18:33:43 +0000</pubDate>
<dc:creator>redityo</dc:creator>
<guid isPermaLink="false">3127@http://www.appnitro.com/forums/</guid>
<description>&#60;p&#62;Hi katya,&#60;/p&#62;
&#60;p&#62;I have seen your form it seems your element id = 1 type isn't radio button,  but I curious do you want to change all radio button or only some of them ?&#60;/p&#62;
&#60;p&#62;if you want to change some radio button you can change by these code, where 7 is your radio button element id :&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;#li_7 label.choice {
	display:inline ;
	position:relative ;
	margin-left: 0.2em ;
	_top:0.2em;
}

#li_7 input.radio {
	display: inline ;
	margin-left: 0.5em;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;but it's more easier if you line up all radio button, just find &#34;#main_body input.radio&#34; and&#60;br /&#62;
 &#34;#main_body label.choice&#34; section in your CSS form and replace with these code&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;#main_body input.radio
{
	display:inline;
        _top:0.2em;
	/*height:13px;*/
	/*line-height:1.4em;*/
	/*margin:6px 0 0 3px;*/
	/*width:13px;*/
}

#main_body label.choice
{
	color:#444;
	display:inline;
	font-size:100%;
	line-height:1.4em;
	/*margin:-1.55em 0 0 25px;*/
	padding:4px 0 5px;
	width:90%;
        position:relative;
	margin-left: 0.2em;
	_top:0.2em;

}&#60;/code&#62;&#60;/pre&#62;</description>
</item>

</channel>
</rss>
