Jump to content

[SOLVED] Multiple form actions...


Recommended Posts

Sorry if I wasn't clear.  Let me explain.  I have an affiliate program and when we terminate an account we must send a void URL with some vars in it back to the program.  I also want to return to the "terminate.jsp".  I don't need to pass any vars to "terminate.jsp".  So my question is how can I send both URL's.  I ultimately want to end up at "terminate.jsp" but I want to call the other affiliate URL when the user clicks the submit button.  Is this a better explanation of my problem?

you'd need a way of forwarding the user from the initial target (the page that nullifies the account) to terminate.jsp.  do you have access to the affiliate's page, or is it on their website?  if so, you may be able to construct a cURL request or use sockets to do so.

I do not have access to the affiliate's page.  All I need to do is redirect to the URL, maybe in another window, but still call the "terminate.jsp" file.  Not sure how to do this all in one when the user clicks the submit button.

Thanks, akitchin.  Everything works now.  I used:

 

","new",",resizable=1,toolbar=no,width=550,height=250")

 

So now the current window stays on terminate.jsp and it also opens a pop-up window to call the URL for the affiliate.

 

-Tim

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.