Form Code Question

by 6 replies
7
HI guys,

Here is part for an optin form code:

<input name="merchantid" type="hidden" id="merchantid" value="51293">
<input name="ARThankyouURL" type="hidden" id=" ARThankyouURL" value="http://www.desperatenichedominator.com/reporttyp.html">

What current happens is that when the person hits the 'Submit' button on the form, they are redirected to the ARThankyouURL listed ie (value=http://www.desperatenichedominator.com/reporttyp.html)

The problem is that the currently displayed web page closes so that the ARThankyouURL can open.

I don't want that to happen. because there is other info. on teh existing web page.

I need that ARThankyouURL to open in a new window.

I've tried adding the TARGET="_blank", but since it's not a link, that function doesn't work.

Does anyone have any ideas?
#programming #code #form #question
  • You can redirect the page to itself, and then using javascript pass the parameters to open it in a new window using window.open("http://www.desperatenichedominator.com/reporttyp.html?Param1=Sometthing&Param2=Somethinge lse","_blank") that is one solution
  • Have you tried using that attribute in the actual tag for the form? It should work.
    • [1] reply
    • Sorry, I'm a bit of a dunce as far as 'code' goes, so I'm not really sure how I'd go about doing that.
      • [1] reply

Next Topics on Trending Feed