View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Need to post to Icontact & update records

Thread began 9/19/2009 11:53 pm by fred306789 | Last modified 9/21/2009 7:41 pm by fred306789 | 1067 views | 2 replies

Jason ByrnesWebAssist

You could use cookies toolkit to help make this work.

The problem is the way forms work:
When a form submits, posted information is available as long as the forms action page is precessing. Once the forms action page is through processing, the post collection is cleared.

What you are trying to do is to have the form post to itself to store the information in a database, then redirect to another page to process the information again. This cant be done without reposing the form since the post is cleared when it redirects.

So to get around this, apply the Store Entire Form in cookie behavior from cookies toolkit to the onSubmit event of the form.

Create another page with the exact same form on it, all of the form elements must have the exact same name. Set the Insert Record behavior to redirect to this page, then apply set entire form from cookie behavior to the onLoad event of the body tag. Set the forms action to post to the Icontact PHP page.

You can then add the Call Javascript Behavior to the onLoad event of the body tag and set it to:
document.getElementById('<form ID>').submit();

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...