This content has been marked as final. Show 5 replies
Try this, not guaranteed.
<FORM NAME="foo1" ACTION="page1.cfm" ... >
<!--- form stuff --->
<FORM NAME="foo2" ACTION="page2.cfm" ... >
<!--- more form stuff --->
<INPUT TYPE="submit " onClick="document.foo1.submit();">
Thanks for your help.
Here's another challenge...
Is there a way to submit a form automatically without a user having to click on a submit button?
Here's my situation:
I have one form that I collect data in which posts to my database. In the action page for that form I have another form with nothing but hidden fields. The fields of the second form are populated by the values from the first form. The second form posts to a server that I do not have access to. Right now I have a single submit button which the user clicks to submit the data on the second form - is there a way to elimintate this submit button?
Replace "FORMNAME" with the actual name of your hidden form
Why not use cfhttp in your form's action page to post the data to the remote server? this is the only feasible solution IMHO
Thanks Ken and Martin. It's always nice to have two solutions to choose from.