close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

how to call UE after validation

Thread began 8/09/2010 6:27 pm by gruant2000381341 | Last modified 8/09/2010 6:57 pm by Eric Mittman | 530 views | 3 replies |

gruant2000381341

how to call UE after validation

I have a form that I wrote some validation for, I am trying to figure out how to call UE after my form has validated. I attached the script...at line 34 is the point where I am ready to use UE if it passed

Attached Files
New Text Document (11).txt
Sign in to reply to this post

Eric Mittman

You should configure your UE server behavior and apply it to the page, then move it to the correct place after the fact.

Where you have your comment after the validations run you should end the php code there, then have your UE server behavior code, then the closing brackets in a new php block like this:

php:
} else {

?>
Universal Email server behavior code chunk here
<?php
    
}
}
?>



If you have any trouble with this post back with the page after you add the UE server behavior to it and I can show you where it goes.

Sign in to reply to this post

gruant2000381341

yeah, I just don't know what I should put in the trigger field... I don't think any of the 4 choices would be the right one because the event has already been triggered

should I just remove the
if ((isset($_POST["submit"]))) {
and corresponding }

or would i also need to take out the
if (!isset($_SESSION))session_start();
also?

Sign in to reply to this post

Eric Mittman

The 'submit button pressed' trigger would still be valid since the form has been submitted. Once the validation code is done then the UE code will fire. You can make the trigger empty or "" == "" or something like this as well.

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