I cannot get phplib ooh forms to set the values on radio buttons. It =
always checks the last value in the array. This is my snippet.
$form->add_element(array(=20
"name"=3D>"release",=20
"type"=3D>"radio",=20
"checked"=3D>1,=20
"value"=3D>"Y"=20
));=20
$form->add_element(array(=20
"name"=3D>"release",=20
"type"=3D>"radio",=20
"checked"=3D>0,=20
"value"=3D>"N"=20
));
This is the only part of the ooh forms I can't get to work right. Any =
help would be appreciated.
Ron Phillips
Web Development
-------------------------------------------------------
Charleston Newspapers Interactive
http://www.cn-interactive.com
Phone: (304) 348-5167
Email: ro...@cn...
|