RE: Checkbox with mutliple names passed to query needing 1 name

2002-03-11 Thread Dave Watts
> I have the following issue. I had to create a form which is > populated from a query which can return multiple rows, one > of the form elements is a Checkbox which is used to select > a row or rows from the form to run a succeeding select query. > Our users needed to capability to select or

Re: Checkbox with mutliple names passed to query needing 1 name

2002-03-11 Thread Paul Giesenhagen
Basically you need to re-doc (or undo) what you have just done :) You are basically going to pass the total number of checkboxes. Then loop on that value and evaluate it. There are proabably various other ways that will get to the same result Paul Giesenhagen QuillDesign http://www.q

RE: Checkbox with mutliple names passed to query needing 1 name

2002-03-11 Thread Steve Oliver
You really don't need to refrence them by name. function selectAll(formObj) { for (var i=0;i < formObj.length;i++) { fldObj = formObj.elements[i]; if (fldObj.type == 'checkbox') { fldObj.checked = true; } } } You'd have to use an if/then if you want