Hi there, i was looking forward to 1.3.0, missing the Radio button. But now (i got 1.3.1) it seems it is not usable at all.. I hope someone will prove me wrong, but i just can't figure how to make a group of two dependent Radio buttons.
// will render only NO radio, because it is the last element of name "choice"? use Phalcon\Forms\Element\Radio; $yes = new Radio("choice", array("id" => "myYes", "value" => 1)); $yes->setLabel("YES!"); $no = new Radio("choice", array("id" => "myNo", "value" => 2)); $no->setLabel("NO!");
So, please, how can we render more than one radio button? And of course we need this Phalcon\Forms\Element\Radio, because we want to attach validatrions, filters..
And btw, maybe new category on this forum - "Forms" will come handy?
Thank You very much, J.