Thread: Form Question
Results 1 to 6 of 6
10-15-2002, 08:22 AM #1
This time a form Question,
I have a cgi form, basic one..
I wanted to know how can I make the redirect url once the info has been submitted go to the page i want it to go but also give a
seperate pop up to a different site
if example this is what i have now:
<input type="hidden" name="redirect" value="http://www.blabla.com">
can i make like a second value2 and could i just put a target=_"blank" behind the url in there to make it a pop up then then?
10-15-2002, 10:07 AM #2
Sounds like you could do what you want by placing the pop-up coding (to yet another popup.htm page) within the index.html file associated with the http://www.blabla.com page - making the process less complicated and more controallable through that file.
10-15-2002, 02:07 PM #3
thats the thing really, it shouldnt pop up with opening the existing page yet but only when the submission form is submitted , cause it may be various forms to various sites the pop ups must go to
but can you also just ad the target=_blank to the redirecting url, i mean should that work, cause i tried to just put it at the end and that didnt work either...
Would you know where to just place the target then or isnt it possible at all?
hope that made sence lol
10-15-2002, 02:17 PM #4
The difficult way would be amend the cgi script itself to popup a new window.
The easy answer is to have (in your original form)
<form method="post" action="whatever.cgi" target="_blank>
this will popup a new window with the form submission in it. Maybe that will do.If one of our members helps you, please click the icon to add to their reputation!
No support via email or private message - use the forums!
Before you ask, have you Searched?
10-15-2002, 02:52 PM #5
thank, ill give that a try , I didnt thinkm you could put it behind the post url
10-15-2002, 03:59 PM #6
Yes, the TARGET=... should be associated with the ACTION=... attribute - that works somewhere for me - can't remember where right now.