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
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
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:
} 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.
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?
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.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
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.