Running PHPRunner 5.0 Build 447
Is there a way to set up a "check all" box like the regular selection boxes in the default templates? This is the one next to Edit/Inline Edit/View. When you click the check box up at the top, it turns all of the boxes on.
I've got a column for "completed" in a table called "Work Tickets"
I'd like to have a box in the completed column name (next to completed) that will turn all of the check boxes to checked. I've temporarily set the default value to 1(checked) but I don't think that is the functionality I want. Is there some custom javascript I can insert into the template to accomplish this?
here's the code from the "select all" column:
{BEGIN checkbox_column}<TD class=headerlist align=middle width=50><INPUT type=checkbox
{$checkboxheader_attrs}> </TD>{END checkbox_column}
from 1st row
{BEGIN checkbox_column}<TD class=borderbody vAlign=middle align=middle>{BEGIN checkbox}<INPUT type=checkbox
{$checkbox_attrs}> {END checkbox}</TD>{END checkbox_column}
here's the code from my "completed" column:
{BEGIN complete_fieldheadercolumn}<TD class=headerlist>{BEGIN complete_fieldheader}<A class=tablelinks
{$complete_orderlinkattrs}>Complete</A>
{END complete_fieldheader}</TD>{END complete_fieldheadercolumn}
from 1st row
{BEGIN complete_fieldcolumn}<TD class=borderbody vAlign=middle align=middle {$complete_style}>{$complete_value} </TD>{END complete_fieldcolumn}