Hi, Web experts,
I have a page (DataCollect.cfm) with 20 checkboxs and several other input fields. Those checked and input values will be inserted into a table. After the user clicks SAVE button, it will go to another page (DaataSave.cfm) to display all values selected and input in a page with YES and NO buttons to confirm with the user before saving the values into the table. If the user clicks YES, the values will be inserted into a table, then go to a page (SelectJob.cfm); if the user selects NO, it will go back to the previous page (DataCollect.cfm) and lets user correct the values.
The problem is, when I click NO,
<INPUT TYPE="SUBMIT" name="BackBtn" VALUE=" NO " onclick="window.location='DataCoollect.cfm'">
all the values selected and input by the user were gone in DataCollect page. The user has to re-select and enter values again.
I would like to know how I can go back to the previous page with all the values selected and entered so that the user could see them and correct the wrong values and keep the right values.
Thanks a lot for any help.
I have a page (DataCollect.cfm) with 20 checkboxs and several other input fields. Those checked and input values will be inserted into a table. After the user clicks SAVE button, it will go to another page (DaataSave.cfm) to display all values selected and input in a page with YES and NO buttons to confirm with the user before saving the values into the table. If the user clicks YES, the values will be inserted into a table, then go to a page (SelectJob.cfm); if the user selects NO, it will go back to the previous page (DataCollect.cfm) and lets user correct the values.
The problem is, when I click NO,
<INPUT TYPE="SUBMIT" name="BackBtn" VALUE=" NO " onclick="window.location='DataCoollect.cfm'">
all the values selected and input by the user were gone in DataCollect page. The user has to re-select and enter values again.
I would like to know how I can go back to the previous page with all the values selected and entered so that the user could see them and correct the wrong values and keep the right values.
Thanks a lot for any help.