JFS
|
Posted: 05/26/2003, 11:22 AM |
|
I have a page with 4 forms on it. I want the user to be able to fill in all 4 forms and click a single button to submit them All. Anybody know how to do this? If so, will the standard BeforeInsert events be handled normally? Thanks for any help
|
|
|
JFS
|
Posted: 05/27/2003, 4:21 AM |
|
For anybody interested I figured it out. I manually attached a onClick Javascript to a button that called the submit() function for each form on the page.
function submit_all()
{
document.formname1.submit();
document.formname2.submit();
...
}
<input class="CobaltButton" type="button" value="Save All" onClick="submit_all()">
Hope this helps someone else trying to do the same thing. BTW, I was not able to make it work if I attached the onClick to one of the standard UPDATE buttons. An yes, the normal BeforeInsert events are handled normally.
|
|
|
Jayme
|
Posted: 08/18/2003, 3:16 AM |
|
Can you please provide a little more detail on how
you did this? And were the forms single input only (as opposed to multiple recordset input)?
Thank you. Jayme
|
|
|
|