<label>Choix 1 <label>
{{GetControl(RadioButton, rbChoice,{Value=1, Name=Choices})}}
<label>Choix 2 <label>
{{GetControl(RadioButton, rbChoice,{Value=2, Name=Choices})}}
$rbChoice = new RadioButton("rbChoice");
$rbChoice->Value = 1;
$rbChoice->Name = "Choices";
$view->AddElement($rbChoice);
$rbChoiceTwo = new RadioButton("rbChoiceTwo");
$rbChoiceTwo->Value = 1;
$rbChoiceTwo->Name = "Choices";
$view->AddElement($rbChoiceTwo);
<label>Choix 1 <label>
{{rbChoice}}
<label>Choix 2 <label>
{{rbChoiceTwo}}
$this->form->Add(array("Type" => "RadioButton",
"Id" => "Choice",
"Name" => "Choices",
"Value" => "1",
));
$this->form->Add(array("Type" => "RadioButton",
"Id" => "ChoiceTwo",
"Name" => "Choices",
"Value" => "2",
));
<label>Choix 1 <label>
{{form->Render(Choice)}}
<label>Choix 2 <label>
{{form->Render(ChoiceTwo)}}