1. Get rid of all advertisements and get unlimited access to documents by upgrading to Premium Membership. Upgrade to Premium Now and also get a Premium Badge!

Sending email after form submit

Discussion in 'Oracle Webcenter Suite (formerly Oracle ECM)' started by skwan, Jul 28, 2010.

  1. skwan

    skwan Guest

    Hi all,

    I'm currently using the acme mail component example to send an email with data from a form submit and it's working fine, but after sending the email it goes to the actual acme mail form page on the content server itself.

    How do i make it so that after a successful submit, it goes to a "thank you" page?

    I've tried using the standard html/javascript redirects, but it doesn't work.

    I'm using Oracle UCM 10gr3

  2. jbecerra

    jbecerra Active Member

    Likes Received:
    Trophy Points:
    I'm not sure if we have the same version of the component but what we do is the following:

    The component receives a parameter called "RedirectUrl", so we created a thank you page and pass the URL as a hidden field in the form:

    <input type="hidden" name="RedirectUrl" value="<!--$redirectUrl-->" />

    I hope this helps,