I'm having a little problem with phpLIB OOH form. I've read the manual on SaniSoft.com and thought it would be easy enough to do, but it's driving me nuts. I can handle every part of the form management fine except for the radio buttons.
I've got my data in sql, Enumerated Y,N, and when I try to preset the values for the radios to check one over the other, it won't check anything but the second item. ie:
$form->add_element(array(
"name"=>"release",
"type"=>"radio",
"checked"=>1,
"value"=>"Y"
));
$form->add_element(array(
"name"=>"release",
"type"=>"radio",
"checked"=>0,
"value"=>"N"
));
The value N is always checked.
Am I missing something?
Thanks.
Ron Phillips