PDA

View Full Version : this.query('checkboxfield[checked]') only returns initially checked item



estesbubba
22 Aug 2011, 1:18 PM
I have a form where 2 of 4 checkboxes are initially checked. If I check another one after render this only returns 2:

this.query('checkboxfield[checked]')

Been trying to figure out how to do something like with no luck:

this.query('checkboxfield[{isChecked()}]')

Is the only to way do this.query('checkboxfield') then iterate calling isChecked() on each one?