I have this radio group on an input/edit form. The input works fine but when I use it as an edit form, I cannot get the inital value to be checked. If I select an option and submit the form, with errors, to force it to display again, the selected item is then checked.
What have I missed?
Keith
What have I missed?
Code:
my @stylez=('Not Specified','Detached House','Semi Detached House','Terraced House','Ground Floor Flat','First Floor Flat');
$STYLELIST= $query->radio_group(-name=>'STYLE',
-values=> \@stylez,
-default=>"Semi Detached House",
-linebreak=>'true');
Keith