Beginner Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOtherBeginner Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 26th, 2003, 12:24 PM
bgriley101 bgriley101 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 2 bgriley101 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question Trouble Getting Form Submitted Through PopUp

I'm having some trouble getting a popup window form submission to work correctly. Any help would be appreciated.

Basically, I have a pretty simple setup. I have a popup window on entry to my index page. The popup works and there is a form submit button that also works ok.

The problem occurs when someone submits the form, at which point I have a behavior set up where it goes to another "thank you" page (within the same window). The problem is, I don't think the data is being submitted??

This worked without the "thank you" page. I'm thinking that the url change somehow interrupts the transfer of info.

Here's the code:

<input name="Submit" type="Submit" onClick="MM_validateForm('firstname','','R','email','','RisEmail');MM_goToURL('parent','thankyou_ebook.html') ;return document.MM_returnValue" value="Submit">

Any assistance would be greatly appreciated.....

Reply With Quote
  #2  
Old July 26th, 2003, 03:05 PM
polyesterhat's Avatar
polyesterhat polyesterhat is offline
Only Human
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: Florida
Posts: 189 polyesterhat User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 8 m 48 sec
Reputation Power: 6
Send a message via AIM to polyesterhat Send a message via MSN to polyesterhat Send a message via Yahoo to polyesterhat
"MM_validateForm('firstname','','R','email','','RisEmail');MM_goToURL('parent','thankyou_ebook.html') ;return document.MM_returnValue"

You need to put this under action.
<form action="">

submits don't need onClick, they do whatever action says, so it should look like this:

<form name="form1" action="MM_validateForm('firstname','','R','email','','RisEmail');MM_goToURL('parent','thankyou_ebook.html') ;return document.MM_returnValue">
<input name="Submit" type="Submit" value="Submit">
</form>

Try that.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOtherBeginner Programming > Trouble Getting Form Submitted Through PopUp


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway