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

Capture Data and Send Email

Thread began 7/09/2009 3:49 pm by eaefaw380137 | Last modified 7/10/2009 10:52 am by eaefaw380137 | 2079 views | 6 replies |

eaefaw380137

Capture Data and Send Email

I am using Contact Form Solution Pack and Data Assist and need to collect the data captured in the contact form in MySQL and also send the results via email. I can get both to work separately, but can't get them both to work together.

I tried adding the Insert Record server behavior from Data Assist in the action tag of the contact form, as instructed in the thread below, but I can't seem to get both to work together. Any help is appreciated.

showthread.php?t=1798&highlight=contact+form+data

Sign in to reply to this post

Ray BorduinWebAssist

Just don't set a redirect in the first one and it should let the other one process as well.

Sign in to reply to this post

eaefaw380137

Capture Data and Email

Ray - thanks for the response...I am happy you have replied since you always seem to provide great support and problem solving. I have learned a lot from your responses...

With regards to your response, I have the contact form redirect to the thankyou.php page supplied via the contact form solution pack. Is that the redirect you are suggesting I remove, or the snippet of code below created by DataAssist?

$WA_redirectURL = "CONTACT_Results.php";

Thanks for your support!

Sign in to reply to this post

Ray BorduinWebAssist

The email and the redirect should both appear in the server behaviors window.

Whichever appears first should not have redirect settings. If you open the interface just make sure the go to page field is blank.

Sign in to reply to this post

eaefaw380137

Capture Data and Email

Ray - thanks for your patience, as I work through this. I am not sure if you are referencing the contact form page (contactus.php) created by Contact Form Solution or the Insert page (CONTACT_insert.php) created by DataAssist when you say that I have to remove the redirect from either the email or redirect in the server behaviors, depending on which came first.

Here is what i have in my server behaviors for each page and not sure where the change needs to be made. If I need to provide code samples please let me know.

Contactus.php | Server Behaviors:

WA Server Validations
Universal Mail 1 (mail)
Dynamic Text Field (Contact_Name)
Dynamic Text Field (Email_Address)
Dynamic Text Field (Comments)
Validation ShowIf (contact.php)
Validation ShowIf (contact.php)
Validation ShowIf (contact.php)

CONTACT_Insert.php | Server Behaviors
Insert Record (CONTACT)

Neither page seems to reference what you mentioned in your last post as the fix. If the answer lies in one of the above server behaviors and I am just missing it, I apologize.

Sign in to reply to this post

Ray BorduinWebAssist

You should be applying the insert record server behavior on the Concatus.php page directly and not using the wizard.

Sign in to reply to this post

eaefaw380137

YES!! That was it! Thank you so much! I purchased DataAssist and the Contact Form solution pack because the Webassist sales team said I could use both to achieve this which is why I was using the wizard....I only needed the Contact Form Solution Pack and your expertise. Oh well... as long as it works, I am sure I will be able to put DataAssist extension to good use.

Thanks again!

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