Copy link to clipboard
Copied
I have a form that I need to post the info to 2 different places like this
STEP 1
<form action="enroll1.cfm" method="POST" id="1">
10 Form Fields
</form>
>>>>> Do Database insert
STEP 2
Now I need to take that same form info and post it to another url so that it can be inserted in another database at another company.
Like this
<form action="enroll2.cfm" method="POST" id="1">
10 Form Fields
</form>
>>>>> Do Database insert
I get the first form posted and the data gets inserted into the database but now how do I pass the 10 form fields to the other url (Step 2)?
Look at using <cfhttp> from your step 1 processing to send the data onto the other site.
Jason
Copy link to clipboard
Copied
Look at using <cfhttp> from your step 1 processing to send the data onto the other site.
Jason
Copy link to clipboard
Copied
Well,
I can easily post to either site.
But Where would I use the -- in the post of step 2
Copy link to clipboard
Copied
Another Question.
I did what you suggested and I am getting an error message.
"The column name Thank you for your submission. is invalid"................................
SO it looks like I got to the other server but how do I avoid the above error ?
Copy link to clipboard
Copied
I dunno. What does your <cfhttp> look like? Are you sending a column named "Thank you"?
Jason
Find more inspiration, events, and resources on the new Adobe Community
Explore Now