close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Simple contact form

Thread began 11/15/2013 7:59 am by phill401410 | Last modified 11/15/2013 11:19 am by Jason Byrnes | 2123 views | 7 replies |

phill401410

Simple contact form

Jason
The attached form wrote this line of code which generated a syntax error.
<?php
if ((isset(["SimpleContact_submit"]) || isset(["SimpleContact_submit_x"]))) {
//WA Universal Email object="mail"

Searched a few forum answers and changed line 4 to
if ((isset($_POST["WebsiteDevelopment_submit"]))) {
if ((isset($_POST["SimpleContact_submit"]))) {
if ((isset($_POST["SimpleContact_submit_x"]))) {
all of which allowed the form to load and form to be filled out. It appeared that the email was being sent as the form closed and went to the Thank You page, however, not getting an email response. As always thanking you in advance.

Sign in to reply to this post

Jason ByrnesWebAssist

the action of the form is set to post to the thank you page:

action="H-Krueger-Design-ThankYou.html"


change that to blank so it posts to itself:
action=""

Sign in to reply to this post

phill401410

Simple contact form

Jason
Thanks for the blazingly fast reply.
Per your reply I changed line 247
<form class="Basic_Default" id="SimpleContact_Basic_Default" name="SimpleContact_Basic_Default" method="post" action="H-Krueger-Design-ThankYou.html">
to
<form class="Basic_Default" id="SimpleContact_Basic_Default" name="SimpleContact_Basic_Default" method="post" action="">
Must have missed something, not getting email!
Revised file attached.

Sign in to reply to this post

Jason ByrnesWebAssist

Who is your host?

Depending on your host, you may need to set certain options in Universal Email.

Some hosts will work if you leave the SMTP Server setting on the Email Server Tab blank, others will require that you enter the SMTP server address.

Some will work using the standard Mail protocol, other will require that you use the Pear Mail for SMTP, some using Pear mail will require authentication.

Some hosts may require that the from address being used be a valid email address for your domain. Some may require that the option to include the from Email address be passed as an extra parameter.

To be successful with Universal Email, you will need to know the requirements of your host for sending an email using a PHP script.

Also, double check your Spam folder, it is possible that the email is being trapped as spam.

Sign in to reply to this post

phill401410

Simple contact form

Hosting at Network Solutions.
Will have a chat with them.

Sign in to reply to this post

Jason ByrnesWebAssist

I believe Network solutions requires that an SMTP server address be entered, make sure you have the correct SMTP server address entered.

Sign in to reply to this post

phill401410

Simple contact form

Jason
Note to self - when entering email address in a form "ahfajhfkjak@y.y" does not constitute a valid email address. Do'h.
Forms are working now. All is well with the world.
BTW - all is well at NetSol. No reported mail problems and not restrictions on my accounts.

Sign in to reply to this post

Jason ByrnesWebAssist

glad to hear it is working.

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