close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

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 | 1134 views | 2 replies |

fred306789

Need to post to Icontact & update records

I do not know if this would work, however I will explain.
I need to post to an Icontact PHP web page via a normal "Form" post action. I also need to have the same form data send to an access DB, so when the user clicks on the "Submit" button I need to have the from data send to the Icontact web server and I need to write the form data to the Access MDB.

I tried several different avenues with data assist and just can't figure this out, I must be missing something or just plain inexperienced.

I am using ASP VB script with a little bit of JAva script, any help would be appriciated.

Sign in to reply to this post

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();

Sign in to reply to this post

fred306789

Thank you

Thank you I will give that a try.

Sign in to reply to this post

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

Content

rating

Layout

rating

Ease of use

rating

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...