close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

UE not working when form included

Thread began 8/13/2009 4:53 am by simmo515303621 | Last modified 8/13/2009 10:14 am by Jason Byrnes | 1310 views | 1 replies |

simmo515303621

UE not working when form included

Hi,

I have UE working great on all forms excpet for a form I have <?php include ('myform.php'); ?>

I start by setting up the form in the myform.php page then when all set up I copy the below into line 1 of the page the myform.php is being included in. Im just not getting any emails at all - it is redirecting ok.

<?php require_once("WA_Universal_Email/mail_PHP.php"); ?>
<?php require_once("WA_Universal_Email/MailFormatting_PHP.php"); ?>
<?php
if ((isset($_POST["button_x"]))) {
//WA Universal Email object="mail"
//Send Loop Once Per Entry
$RecipientEmail = "".((isset($_POST["email"]))?$_POST["email"]:"") ."";include("WA_Universal_Email/WAUE_hosting_plans_1.php");

//Send Mail All Entries
if ("contact_success.php"!="") {
header("Location: contact_success.php");
}
}
?>

ANother issue i have is that once a form has been added how do I edit the form without having to edit in code mode?

Thanks

Sign in to reply to this post

Jason ByrnesWebAssist

does the form contain an element named "email"?


you Universal email code is using the "email" form element to get the address the email is to be sent to.

You would need to edit the form on the myform.php page instead of the page that it is being linked on to be able to make changes to it in design view.

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