Current location: Hot Scripts Forums » Programming Languages » PHP » Form submission question.


Form submission question.

Reply
  #1 (permalink)  
Old 05-24-05, 08:11 PM
pixelluxe pixelluxe is offline
Newbie Coder
 
Join Date: May 2005
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Question Form submission question.

I currently use a form that uses the following script:

Code:
<form method=post action=signup.php>
<input type=hidden name=list value=1>
<br>Email: 
<input name=email type=text size="16">
<input type=submit name=sup value="Join">
</form>
Everything works fine, but I would like the action to happen in a new window, rather than in the parent window. Does anyone know how I could make this work?

Thanks in advance for your help.

Marcus

(also posting in Javascript forum)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 05-24-05, 08:47 PM
FiRe FiRe is offline
Code Guru
 
Join Date: Oct 2004
Location: UK
Posts: 801
Thanks: 0
Thanked 0 Times in 0 Posts
its neither php or javascript

change:
<form method=post action=signup.php>

to:

<form target="_blank" method=post action=signup.php>

__________________
Alexa Share <-- Trade virtual shares in websites with this online game.

codR.us <-- Submit and vote for your favorite code snippets with codR.us.

XEWeb.net <-- The ultimate PHP resource network.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #3 (permalink)  
Old 05-24-05, 10:15 PM
pixelluxe pixelluxe is offline
Newbie Coder
 
Join Date: May 2005
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Wow, was it that simple? Thanks! I tried it and it works great.
Now, maybe where the Javascript comes in... I want to be able to set the size and other properties of the new window. Any ideas there?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Form submission problems d*d PHP 8 05-09-05 12:39 PM
Flexible form validation question epetoke JavaScript 6 09-12-04 05:19 PM
Limit the form submission according to time bionicsamir PHP 7 05-10-04 12:10 AM
Form Submission Question Peter_Moore HTML/XHTML/XML 1 04-15-04 10:16 AM
question on form and submit TxRanger JavaScript 2 11-03-03 12:28 PM


All times are GMT -5. The time now is 12:55 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.