I have a script which loops through the fields of a table and creates a check box for each field. This is so the user can check whatever field they want to be included in a report.
I want to have a button that checks all fields so user doesn't have to do them all manually. I have looked at various javascripts but find some difficulty as it usually requires each check box to use the same name to work properly.
If I use the same name for each checkbox then I won't be able to get all values for the sql statement which is generated by the loop.
Can anyone help me with a script or point me to somewhere on the net which would have the solution to my problem.
Thanks
Peter