I suppose it will be Javascript. I had one form which is populated by information from the database. Due to the limitation of one submit button per form I have a second form that has all hidden fields so I could capture the information that I need. I wanted to capture any changes so that the Database could be updated. I would use the param('value') but it gets set on the page load. That means that I would need to capture the information directly from the field so I could transfer it to the second form which has the database updating routine. I hope this explains it. | [reply] [d/l] |
I'm not sure what you mean by limitation of one submit buttom, forms can have any number of submit buttons and if they have different names or values, you can tell which was clicked when you get the form in a script. But here's where you've lost me again - why are there two forms? and what is the intended destination/result of submitting them?
| [reply] |
The first form is for searching the database. It can search on any of the fields and then return the results. i.e. type in a last name and the fields in the form get populated with the information from the database.I wanted to incorporate a way from that page to modify the data and update the database. The first submit button uses the same form to return search results. The other form would be for updating the database.
| [reply] |