[html-formfu] pre-check radio button
kewei xiao
kewei.xiao at nald.ca
Thu Nov 1 15:07:05 GMT 2007
Hi Carl
I am not sure how I should do in yaml file when I want the radio
button to be checked by default at some situation.
for example, if I go to update page, i want the associated items to
be checked when the form is load up, so user can know what's in the database
I was trying to do something like this:
default: { "if ( $c->stash->{variable}->item_id == this.id ) {
checked }" }
am I doing right? Please advise, thanks
Ke Wei
More information about the HTML-FormFu
mailing list