Hello _SjG_,
We recently talked in the IRC about adding
after radio and checkbox items, that way they were listed in a line, rather than just meddled up all together on a single line.
I would like to know how to do this, as a quick fix, as i know you are busy with work and all and that you are pressured for the release of Form Builder. Others may reply. I need this as soon as possible.
This did not work (in RadioGroupInput.class.php):
echo CMSModule::CreateInputRadioGroup($id, $this->Alias, $opts, $this->Value,$this->mod_globals->UseIDAndName?'id="'.$this->Alias.$i.'"':'');
echo "
";
- Bobby
FeedBack Form and <br />
Re: FeedBack Form and <br />
what's the diff. between
that way they were listed in a line, rather than just meddled up all together on a single line.
are you talking about 'check box group'
mark
that way they were listed in a line, rather than just meddled up all together on a single line.
are you talking about 'check box group'
mark
Re: FeedBack Form and <br />
What I want is (Where # is the checkbox or the radio button):
# Good
# Bad
# Ok
Where now It is:
# Good # Bad # Ok
# Good
# Bad
# Ok
Where now It is:
# Good # Bad # Ok
Re: FeedBack Form and <br />
Im talking about the checkbox and radio button groups, their just in clusters and are not listed in a list like the example i gave above. The textboxes are like that by default, but im not interested in customising those.
tmhai wrote: What I want is (Where # is the checkbox or the radio button):
# Good
# Bad
# Ok
Where now It is:
# Good # Bad # Ok
Re: FeedBack Form and <br />
http://validator.w3.org/check?uri=http% ... estionaire
http://validator.w3.org/check?uri=http% ... online.php
<form id="m2moduleform-1" name="m2moduleform-1" method="post" action="index.php"
there is no attribute "name".
Re: FeedBack Form and <br />
For what it's worth, the solution was to edit modules/FeedbackForm/classes/RadioGroupInput.class.php and change line 45 from
to
In FormBuilder, you'll have to edit a smarty template.
Code: Select all
echo CMSModule::CreateInputRadioGroup($id, $this->Alias, $opts, $this->Value,$this->mod_globals->UseIDAndName?'id="'.$this->Alias.$i.'"':'');
Code: Select all
echo CMSModule::CreateInputRadioGroup($id, $this->Alias, $opts, $this->Value,$this->mod_globals->UseIDAndName?'id="'.$this->Alias.$i.'"':'','<br />');
Many modules available from the http://dev.cmsmadesimple.org
The CMS Made Simple Developer Cookbook is now available from Packt Publishers!
The CMS Made Simple Developer Cookbook is now available from Packt Publishers!
Re: FeedBack Form and <br />
Maybe you can add a class into the input-tags (e.g. class="line"). Then you have to add tis code to your CSS:
It's a quick-shot, don't know if it works.
[EDIT]
And now, I tested it: No, it doesn't work. Sorry. One reason: The input-tags are all in one seperated table-cell.
Code: Select all
.line{
display: block;
}

[EDIT]
And now, I tested it: No, it doesn't work. Sorry. One reason: The input-tags are all in one seperated table-cell.

Last edited by Grega on Tue Jun 06, 2006 10:55 am, edited 1 time in total.
Können die mich nicht vor dem Frühstück töten?