Assuming, I'm guessing correctly what you want to do, the answer is yes, use JavaScript. Better tell us some more about what you want to accomplish if that answer doesn't suffice. | [reply] |
I have some information in one form. Let's say name, address, city, state, zip. We decide to change the city. How do I get that information into another form on the page. This is database driven.
| [reply] |
I'm afraid I still don't have a picture of what you are trying to do. Maybe you mean copying in the page itself. The user types in their ctiy in form #1 and the name automatically gets copied into form #2 ... that can be done with JavaScript. Or maybe you mean that when they submit form #1 the data gets entered in the database and then the user is shown the same page with data from the database filling in form #2. In that case, read the data from the database into CGI.pm params and simply display the forms again using CGI.pm's sticky feature which will place the new values in the forms. But then maybe you mean something other than either of those.
| [reply] |