I have a form with an embedded view, where the view has the Allow selection of documents option set.
The view is categorized by Operation and Component. Is it possible to have checkboxes by these and if the Component is checked all associated action items are checked?
Any ideas greatly appreciated - thanks in advance!
Subject: Another Checkbox Question
There’s not much you can’t do using JavaScript, but there are two minor difficulties here.
The first is that the code is a little bit big & complex for an off-the-cuff response, so unless someone’s already done it, they’d need to be incredibly generous of spirit (or bored to tears, which is usually my excuse) to build it quicky for you. You may get a response yet, just keep in mind that it may take a while.
The second is that a checkbox is probably the wrong widget to use for this category-level functionality. It’s not obvious what it’s going to do. I would consider using a button or button-like link instead; ideally one that would “flip” its label from “Select All” to “Deselect All” or something similar.
Subject: RE: Another Checkbox Question
Thanks guys - I will post a response to let you know how I have handled this!
Subject: Another Checkbox Question
What if you added a combobox (or multi-value listbox) to the form above the categorized column which displayed @dbcolumn(“”; “”; “theEmbeddedView”; 1) and put a checkbox next to it? Then your users could select one (or more) of the categories from the combo/listbox and use the checkbox to indicate if they wanted to check or uncheck all entries in that category.
Actually changing the state of specific checkboxes programmatically could be tricky, though; have you figured out that part yet?