![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
Since you are obviously using server-side script with your database, why not create a page that just contains your insert or update statement. Then on the previous page submit the form to the page with the insert. That page should just request the appropriate values and insert/update the db, then redirect as appropriate. "Monty" <monty (AT) gumbotech (DOT) com> wrote in message news:becoii$pc5$1 (AT) forums (DOT) macromedia.com... Can I make a form submit info to a database when the page loads, like: form name="form1" method="POST" action="onLoad<%=MM_editAction%>" Thanks, Monty |
#2
| |||
| |||
|
|
I need the form to submit as soon as the page loads, before they go to another page, and without any interaction from the viewer. Is this possible? "Les Matthews" <LesAMatthews (AT) yahoo (DOT) com> wrote in message news:becpkg$r5e$1 (AT) forums (DOT) macromedia.com... Since you are obviously using server-side script with your database, why not create a page that just contains your insert or update statement. Then on the previous page submit the form to the page with the insert. That page should just request the appropriate values and insert/update the db, then redirect as appropriate. "Monty" <monty (AT) gumbotech (DOT) com> wrote in message news:becoii$pc5$1 (AT) forums (DOT) macromedia.com... Can I make a form submit info to a database when the page loads, like: form name="form1" method="POST" action="onLoad<%=MM_editAction%>" Thanks, Monty |
#3
| |||
| |||
|
|
O.K. I figured it out. It was so simple that I overlooked the obvious: body onload="formName.submit()" "Monty" <monty (AT) gumbotech (DOT) com> wrote in message news:bef18c$pa6$1 (AT) forums (DOT) macromedia.com... I need the form to submit as soon as the page loads, before they go to another page, and without any interaction from the viewer. Is this possible? "Les Matthews" <LesAMatthews (AT) yahoo (DOT) com> wrote in message news:becpkg$r5e$1 (AT) forums (DOT) macromedia.com... Since you are obviously using server-side script with your database, why not create a page that just contains your insert or update statement. Then on the previous page submit the form to the page with the insert. That page should just request the appropriate values and insert/update the db, then redirect as appropriate. "Monty" <monty (AT) gumbotech (DOT) com> wrote in message news:becoii$pc5$1 (AT) forums (DOT) macromedia.com... Can I make a form submit info to a database when the page loads, like: form name="form1" method="POST" action="onLoad<%=MM_editAction%>" Thanks, Monty |
![]() |
| Thread Tools | |
| Display Modes | |
| |