{ type => $type, name=>'role', value=> $_->id, label => $_->name,

This looks correct - setting 'value' with the id.

id=>'role_'.$_->id, /*'checked'(maybe a condition here)*/ }

this isn't valid perl - so what are you really using?
If you're not setting 'default', then it shouldn't be getting checked at all.

Carl

_______________________________________________
HTML-FormFu mailing list
HTML-FormFu@lists.scsys.co.uk
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu

Reply via email to