Redirect to the same page after submitting a form

I use a landing page form Eloqua to drive online capture at all our shows. Right now, I have been creating pages for individual destination and forms for each of them... which isn't an ideal situation. I also started using query parameters, so I have a default form that will capture a unique campaign for each show ID. It is, I can't figure out how to redirect the submission form!

Example:

testing.Eloqua.com/tradeshowleadform?source=CAMPAIGNID123

On form submission, the source meets the fact that he was from CAMPAIGNID123 and puts it in the system. But I can't get back to this exact URL for redirection! I get to go back to ' testing.eloqua.com/tradeshowleadform"...but I need to the query parameter in order to capture the right campaign."

Anyone has an idea on how to do it? My one idea was to enter the FULL URL in a field called (returnURL), but don't know how to do this since the request parameters are only for everything after the question mark.

Any help would be greatly appreciated.

Thank you!

-Jon

Try campaignid1.  If this does not work, you can find the HTML for the merger of field by inserting it into an email or landing page and showing the source code.

Tags: Marketers

Similar Questions

  • Redirect to the same page with the values of the variables

    Hello

    I develop a form to report data of the certain date range provided by the user.

    The problem is that I have to redirect the page back to the original page with the error message "not found in the date range" If the provided date range contains all the data in the database. I am able to redirect the page to the original page for help:

    < cfif queryname. RecordCount EQ 0 >

    < cfset action 'error' = >

    < Cflocation >

    < / cfif >

    And I use the < cfparam > for the creation of an action to navigate in the code, variable

    < name cfparam = "action" default = "" >

    [Use the < cfparam > above, tag at the top of the code and using action EQ 'report' and ' ' for navigation in the code]

    But, when I redirect to the same page, with the variable value measures of error and using cflocation he forget all varable values in the new page [way], then how can I pass a variable value measures on the same page and redirect it to the same page on meeting certain criteria.

    If this isn't clear, let me know.

    Help, please

    Vijayvijay77.

    vijayvijay77 wrote:


    ...


    And I use

    a kind of cfif to navigate inside the code. I'm doing something wrong here.

    You say that you guessed it at work.  But you have a dangerous code here (if you have not changed).

    The line will generate variables URLS when ColdFusion processes the page.cfm file once requested by the browser.  For example url.set and url.flag.

    Tags are NOT specifying the scope of variables, so they will default to the scope of "variables".  Who are the local variables of the demand for treatment.  For example variables.set and variables.flag.

    URL.set and VARIABLES.set ARE NOT the same variables.  And this confusion can cause some VERY difficult to diagnose the problems of code.

  • Branch to redirect to the same page as edit

    Hello
    How can I stay on the same page after insert or update the folder but in edit mode.
    I use a branch, but that loses the values.


    Kind regards
    Orlando Cruz

    Hello:

    Change the target of the branch defined in the page containing your form points to itself.
    Remove the 'reset the page' page process defined on the form page.

    CITY

  • How to set point values when redirecting to the same page.

    I just create a button to redirect I want to redirect to the same page and place 2 elements on the page to the same value they had before the redirection.
    But I can not write:
    Place these items: P1_Permit_Number, P1_Fishing_Year
    With these values: & P1_Permit_Number, & P1_Fishing_Year.

    Because there are no values in session state, because a shipment has not been done.

    So, how can I do this?
    I know how to get the values stored in the elements, for example, $v ('P1_PERMIT_NUMBER')
    but where should I put this command? It is not allowed under the "with these values.
    And I don't really want to make a button "submit" and create a process that says:
    P1_PERMIT_NUMBER: = $v ('P1_PERMIT_NUMBER'), because that would complicate the page too - I already have other branches and the process on the pages which conditions have to be modified so that they do not work in this scenario.

    Thank you.

    Hello

    The syntax seems correct to me. Your summers of uppercase element names?

    Try:

    alert("Here");
    var permitNumber = document.getElementById('P1_Permit_Number').value;
    alert(permitNumber);
    var fishingYear = document.getElementById('P1_Fishing_Year').value;
    alert(fishingYear);
    var url = 'f?p=&APP_ID.:1:&APP_SESSION.:Vessel_Display:::P1_Permit_Number,P1_Fishing_Year:' + permitNumber + ',' + fishingYear;
    alert(url):
    window.location.href = url;
    

    All alerts MUST display expected values. Doesn't it?

    Andy

  • Two redirects to the same page?

    DW CS3 - ASP

    Through a former (but excellent) training DVD to create registration forms Insert/Update/Delete using DW & ASP.

    Two forms are created on the same page - a record of update and delete record.  Update works, but delete creates an error:

    Microsoft VBScript error "800 a 0411" compilation

    Name redefined

    /mysitename/myFolder/admin_edit.asp line 95

    Dim MM_editRedirectUrl

    This error is apparently due to the different redirect for each form URL:

    ' add the query string to the redirect URL
    Dim MM_editRedirectUrl
    MM_editRedirectUrl = "admin_edit.asp".
    If (Request.QueryString <>"") then
    If (InStr (1, MM_editRedirectUrl, "?", vbTextCompare in) = 0) then
    MM_editRedirectUrl = MM_editRedirectUrl & "?" & Request.QueryString
    On the other
    MM_editRedirectUrl = MM_editRedirectUrl & "" & Request.QueryString
    End If
    End If
    Response.Redirect (MM_editRedirectUrl)
    End If
    End If
    % >

    ' add the query string to the redirect URL
    Dim MM_editRedirectUrl
    MM_editRedirectUrl = "admin_home.asp".
    If (Request.QueryString <>"") then
    If (InStr (1, MM_editRedirectUrl, "?", vbTextCompare in) = 0) then
    MM_editRedirectUrl = MM_editRedirectUrl & "?" & Request.QueryString
    On the other
    MM_editRedirectUrl = MM_editRedirectUrl & "" & Request.QueryString
    End If
    End If
    Response.Redirect (MM_editRedirectUrl)
    End If

    End If
    % >

    I read that rename the second MM_editRedirectUrl Sun of Sun MM_editRedirectUrl_2 will make things work properly and he DID!  However, does make for an unstable environment; and if yes, what is the best approach to resolve this?

    OK, that makes sense. The problem stands and the original solution. Loading edit/detail page he sees scripts and variables of these two behaviors, and that the same variable name is used in both cases. So to change the names of variables in one or the other behaviors will work and will not cause any instability.

  • Redirect to the original page after login

    Hello, I'm new in the Fusion of the ADF, I'm trying to get my program to do the redirection, submitted by the user, after logging, page example: otherwise

    the user is connected to the session, and someone is trying to access a path in the browser (... faces/protected/admin/page.js) JAAS (Yes, I use JAAS, JAAS not ADF security, so I tried that before JAA redirect to the login screen, he kept the URL TO which the user has tried to do that when connecting the user to the system, it redirected to this page) not a standard page...

    I tried to recover using this url PhaseListener, filter using the filter applications (/ *) and using the < f: event > someone at - it suggestions?

    OBS: authorization and authentication with JAAS is ok, I wanted to just implement this dynamic redirect

    I create the hidden entrance and a button to test the parameter:

    public class test {}

    @ManagedProperty(value="#{param.from")

    private String

    I don't know if the injection with @ManagedProperty will work.

    So, first make sure that hidden field a correct value (you can check this in the source of the page, or you can add a component any visible...)

    If this value is correct, you can try to evaluate EL inside your connection method with:

    public static String evalAsString(String p_expression){
        FacesContext context = FacesContext.getCurrentInstance();
        ExpressionFactory expressionFactory = context.getApplication().getExpressionFactory();
        ELContext elContext = context.getELContext();
        ValueExpression vex = expressionFactory.createValueExpression(elContext, p_expression, String.class);
        String result = (String) vex.getValue(elContext);
        return result;
    }
    
    and then:
    String from = evalAsString("#{param.from}");
    

    Dario

  • Make the page tabs to come back on the same page after deletion

    I have a page with three tabs.
    When the user clicks on Delete on any page. A warning page comes. And after the user selects Yes or no on the warning page,
    original page is displayed. But he's always the first tab. I want to keep the tab also.

    How can I do?

    I used setForwardUrl to move between pages.

    Hello

    When delete event is raised, in the PFR capture the details of the selected tab

    tabBean.getSelectedIndex (pageContext);

    store it in session

    then

    send to the warning dialog page.

    view the results of the calling page warning page

    in the request form of the calling page process capture the event

    use

    tabBean.setSelectedIndex (pageContext, value)

    get value from session

    pageContext.getSessionValue () API

    Concerning
    Ivar

  • Branch to the same page with different session variables

    Hello guys,.

    Is there a way that allows to create a branch that redirect to the same page with a different set of values for session variables. Or is it an effective way to add the buttons after that moves through the consecutive records in the pre and oracle apex.

    hope someone can help me.

    Kind regards.

    -shashikahk-

    is there a way to add the following buttons and pre

    If you create a form using the wizard pages, Apex will automatically create these buttons in some cases (as in a master form / retail).

    Create a master page / detail demo so you can see how it works. Apex creates a pre-rendering process:

    Get the value of the primary key next or previous

    Some of the hidden objects, such as Pxx_ROWID_NEXT.

    And two buttons: GET_PREVIOUS_ROWID and GET_NEXT_ROWID

    (if you do not use rowid as the primary key, another name will be generated).

  • After IR search filter, see the same page

    Oracle Apex IR 5.0

    After filtering has been done to the desired result, if I click on the button REFRESH then normal page should look similar to the first image

    1.png

    2.png

    Hi Pranav.shah,

    Make the work of the "Redirect Page in this Application" button.

    Give the same page number.

    And in the section to clear the Cache, type "IRC".

    I hope this helps!

    Kind regards

    Kiran

  • Optional redirect to URL in branching on the same page

    Hi guys,.

    I'm trying to use the optional redirection URL when branching from one page to another. In my case I insert a new record of Page 12, here are the details of the Page 12:

    Page 12 contains a row-extraction automated process that runs after the header.

    I have a connection with an optional URL forwarding option that takes me to the same page 12, click on the Save/Create button to create a new record. I'm defining the key primary and other form values and save the session state. However, once the data are inserted into the table, using the redirect option URL gives me no data found message.

    Could someone please help me to and explain what I'm doing wrong here?

    Thank you
    Rohan

    Hello

    Add this line in your code just after calling "set_session_state". Run the page in debug mode. Debugging must show a line like «value PK recover...» ». Don't you see a valid value?

    wwv_flow. Debug ('PK retrieved value =' | v_ccpPK_nr);

    CITY

  • I can print before and after on the same page?

    Hello world.

    I'm really proud of my editing on a particular image.  I want to print the front and then on the same page, just as I can see the before and after by-side in the mode to develop.

    Is this possible?

    Thanks for your help.

    Yes, but you will need to make a virtual copy by going to the menu:

    Photo > create virtual copy

    Then open the copy 2 in the develop module, and from the history panel, change the setting at the time of importation (usually the bottom of the list) or use the reset button to return to the original camera file.

    You can then select copy 1 & 2 and go to the print module to set up your page with two pictures.

  • Redirect the user to the previous page after login

    Hello

    The login process on page 101 of the application redirects the user to page 1 after successful login. If the user is currently on page 9 of the application, the session expires and the user is redirected to the login page. Now when the user connects again, can redirect us the user to the page 9 instead of page 1?

    Thank you
    Machaan

    Tony, when the session expires after idling, wouldn't the point of application is invalid and so no point of application of the new session value any?

    Machaan,
    My suggestion would be to save the current page to a variable preference of the user (by saving it to an application process that is running on the page of each page load). Extract the value of this preference after connection and redirect to this page (owa_util.redirect_url) if it is not null. On logout, delete this preference, so that you are not redirected to this page in the next connection.

    Note that the implementation of your condition (using any approach) could lead to problems that you might want to consider.
    For instance if the user was in a page that has a dependent process/calculations onload on some elements of the page (another page set) as would be the case with a child page/edit record of pages; It can generate many unforeseen errors when you connect and redirect to this page without setting any of these elements.
    Another case would be when these pages were opened in pop-up windows or the content of the iframe (and which should be called in a different page) and the parent page has expired without any submission (so once again is the child page last page)

  • Staying in the same page continue editing after creating a button

    Hello

    I have an apex generated form based on a table and there is a trigger for the primary key.
    When the user comes to the page, they can fill in the fields and click on the button create.
    Right now, create will take them to another page and they use another link to return to this form on this page to change the row in the table
    What I really want is that after you have filled a few items and clicking on the button create, I want the user to stay on the same page
    to continue to fill in the other fields for this record, but the button create must disappear, and instead, the 'save' button appears.
    If anyone can help? Thank you.

    Suni

    Hello

    1. you must remove the process that erases the data (clear your Cache).

    2. create a page process that will get the primary key of the newly added in the hidden primary key record filed... (* You can take the help of the form of the master / detail, created by the wizard... it does the same thing..) When you click on send, it retrieves the newly added primary key, and the long-form becomes visible *)

    Kind regards
    Shijesh

  • When you download a new page, the page will move upwards a little, revealing the same page as, and then will go back down and full download.

    I have Windows 7 32 bit, Firefox 19.0 when I click to go to another page, sometimes the current page will move upwards a little, revealing the same page under. After a few moments, the current page will move down and then goes to the new page and download.

    Hello, you can try to reproduce this behavior when you start firefox in safe mode, once? If not, perhaps an addon intrudes here...

    Troubleshoot extensions, themes, and issues of hardware acceleration to resolve common problems of Firefox

  • Windows Update has encountered an error and cannot display the requested page after that I click on express update.

    Original title: page Web update always comes back also cannot display the Web page after that I click on express update.

    Page Web I cannot update. Obviolsy I have access to the internet. I tried this several times. I have reintalled windows and I need update Inorder for programs work. Help. I have IE8. XP pro74 free concerts on drive c 400gigs e and d

    Is this the same computer as in this thread previous & abandoned of yours? -Online http://answers.microsoft.com/en-us/windows/forum/windows_xp-networking/remote-desktop-wont-connect-win-7-to-win-xp-pro/d0995287-356b-4e1f-aa51-1813625b4014

Maybe you are looking for

  • Trying to extend my wifi network.

    I want to thank my wifi at home. I have a Motorola router connected to an Airport extreme via an ethernet cable. Can I now run an ethernet cable from the Airport extreme to another device to "extend" the coverage of the network airport?

  • Satellite A100-250: what processors are ok?

    Hello.I hope that everything is ok.I have Toshiba Satellite A100-250 model PSAA2E-03u030du and I want to improve it with a new processor. Which processors are ok for me?

  • How do synchronize you email sent?

    I put E-mail in place on my Mac (10.11) and my iPhone (iOS 9). My Inbox sync as expected, for example, if I read a message on my Mac it is marked as read on my phone, or vice versa. However, my Outbox syncs at all: my computer show that messages sent

  • New user

    How can I use a flash drive and then how I play?

  • Impossible to download anything Dell support/drivers pages

    Tried all afternoon to download the new SUU (16.04), but each time it ends early with an incorrect file size or get barely started before failing.  I also try the updates of the lifecycle controller, and it does not anywhere either.  Is something bad