Hello,
i have this conditional code in the sub html_record_form:
if ($per_admin){print qq|
<b>Controllato?:</b>|;
print &build_radio_field("controllato",$rec{'checked'});
}
else { print qq|<input type="hidden" NAME="checked" VALUE="no">|;}
If a user add a new record or modify an old one the value of field "checked" will be "no" so that admin can control if he has checked or not new records. My problem is this:
how can I add for admin, in the search results, a button like "check all" so he can change to "yes" the field "checked" of multiple records in one time?
i have this conditional code in the sub html_record_form:
if ($per_admin){print qq|
<b>Controllato?:</b>|;
print &build_radio_field("controllato",$rec{'checked'});
}
else { print qq|<input type="hidden" NAME="checked" VALUE="no">|;}
If a user add a new record or modify an old one the value of field "checked" will be "no" so that admin can control if he has checked or not new records. My problem is this:
how can I add for admin, in the search results, a button like "check all" so he can change to "yes" the field "checked" of multiple records in one time?