CreateInputRadioGroup parameter
Posted: Thu Jul 03, 2008 8:12 am
I am using the CreateInputRadioGroup method but the delimiter is getting parsed as ASCII. The last parameter is suppossed to insert formatting, according to the comments: "@param string A delimiter to throw between each radio button, e.g., a
tag or something for formatting"
here's how I'm using it:
it's displaying on the page like this:
Title & Abstract
Title & Abstract & Content
and the HTML source looks like this:
How should I be putting in the argument, if '
;' does not work?
tag or something for formatting"
here's how I'm using it:
Code: Select all
$smarty->assign('inputradioTitleAb', $this->CreateInputRadioGroup($id,'contentsearch',$radio,'ta','',"<br />"));
Title & Abstract
Title & Abstract & Content
and the HTML source looks like this:
Code: Select all
<input type="radio" name="cntnt01contentsearch" id="cntnt01contentsearch1" value="ta" />
<label for="cntnt01contentsearch1">Title & Abstract</label><br />
<input type="radio" name="cntnt01contentsearch" id="cntnt01contentsearch2" value="tac" />
<label for="cntnt01contentsearch2">Title & Abstract & Content</label><br />
;' does not work?