Not used DW (CS5) for some time so very rusty. Just used it to edit a form for selecting holiday apartments for booking and providing estimated cost,
To improve layout and start to develop the proposed site, I opened it in DW. Added a table to organise layout better and DW decided it would alter the checkbox names to the ID's so name="Apt_1" etc. rather than name="Apartment". This appeared to happen when I dragged the boxes into table cells.
Any ideas as to why it does this? Any way of avoiding it? Should I use Apartment as name instead. The code uses fragments like
frm.elements("Apartment" + j).checked
to access the checkboxes which have several associated text inputs "Adults_1", "Children_1" etc etc.
If by DW you mean Dreamweaver, you should post this question in one of the Dreamweaver forums.