How to customize radio button cells? |
1/17/2007 4:47:45 PM |
PHPRunner General questions | |
G
gawde author
I have not found any question similiar to this answered in the forum or PHPRunner user manual so here goes.... |
|
![]() |
Alexey admin 1/18/2007 |
Greg, foreach($arr as $opt) { if($opt==$value) echo '<input type="Radio" name="radio_'.$cfieldname.'" onclick="java script: '.$cfield.".value='".dbaddslashes($opt).'\'; return true;" checked>'.htmlspecialchars($opt)." "; else echo '<input type="Radio" name="radio'.$cfieldname.'" onclick="java script: '.$cfield.".value='".db_addslashes($opt).'\'; return true;">'.htmlspecialchars($opt)." "; }
|