I have seen where this has been sort of asked in other threads. But couldnt find a difinitve answer.
I have created a form with a table inside.
The table is populated by a Access database based on User input from a previous page. I don't know how many rows of data because this will depend on how many students are in a class.
The table has three elements I care about.
1) studentID (Hidden Field)
2) chkAttend (checkbox named chkAttend)
3) chkPLUCredit (checkbox name chkPLUCredit)
The user can check one or both or none of the checkboxes per student.
This means I will have multiple studentID's, multiple chkattends and multiple chkPlucredits.
After the user is thru checking checkboxes I submit the form.
I need to then read the form and update my master file with the checkboxes that have been checked. The hidden field within the form is the StudentID I use to pull the appropriate record. What I cant figure out how to do this is since I dont have unique names for the checkboxes per student how can I loop thru the form.for each item in request.fields
You can see what I am doing at this url. If you click submit I display the form. As you can see I get the results , just dont know how to loop thru each element.
Thanks,
Bob Leffew
I have created a form with a table inside.
The table is populated by a Access database based on User input from a previous page. I don't know how many rows of data because this will depend on how many students are in a class.
The table has three elements I care about.
1) studentID (Hidden Field)
2) chkAttend (checkbox named chkAttend)
3) chkPLUCredit (checkbox name chkPLUCredit)
The user can check one or both or none of the checkboxes per student.
This means I will have multiple studentID's, multiple chkattends and multiple chkPlucredits.
After the user is thru checking checkboxes I submit the form.
I need to then read the form and update my master file with the checkboxes that have been checked. The hidden field within the form is the StudentID I use to pull the appropriate record. What I cant figure out how to do this is since I dont have unique names for the checkboxes per student how can I loop thru the form.for each item in request.fields
You can see what I am doing at this url. If you click submit I display the form. As you can see I get the results , just dont know how to loop thru each element.
Thanks,
Bob Leffew