nsForum logo

Welcome Guest ( Log In )

 
Reply to this topicStart new topic
> Onsubmit Form Popup Window
smckenzie
post Dec 4 2008, 10:53 AM
Post #1





Group: Verified NS Member
Posts: 239
Joined: 10-July 08
Member No.: 1,416



As a StoneEdge user, we used their order status system instead of the built in NS one.

Customers could check their order status by filling in a form that on submit would launch a popup window and display data from the Stoneedge servers.

For some reason, I cannot get the form to launch a popup on submission of the form on v7.

This line is included in our header

<script language="JavaScript" type="text/javascript" src="popup.js"></script>

Popup.js contains a few other functions that all work, including a separate popup function which works, so I know its not that.

The form uses this onSubmit - onSubmit="popupform(this, 'join')"

I'm using this script - http://www.htmlcodetutorial.com/linking/li...famsupp_73.html

Currently, clicking on submit won't launch a popup.

Can ideas?
Go to the top of the page
 
+Quote Post
smckenzie
post Dec 4 2008, 11:05 AM
Post #2





Group: Verified NS Member
Posts: 239
Joined: 10-July 08
Member No.: 1,416



Just tried this on IE7 and I get a runtime error. I was using FireFox which didn't show any errors.

Anyway, could this be down to security on the v7 platform? as the forms action is to a different url to get the status info
Go to the top of the page
 
+Quote Post
brad
post Dec 4 2008, 11:13 AM
Post #3





Group: NetSol Staff
Posts: 59
Joined: 27-November 07
Member No.: 328



QUOTE (smckenzie @ Dec 4 2008, 10:23 AM) *
Just tried this on IE7 and I get a runtime error. I was using FireFox which didn't show any errors.


The runtime error is happening in IE7 because of the form used in the custom html for that page. With asp.net every page is already a form. Including a form in your html causes a nested form, which is trouble (especially for IE). See this page for details on how to get around this problem...

http://ecommerce.networksolutions.com/supp...p?questionid=45
Go to the top of the page
 
+Quote Post
smckenzie
post Dec 4 2008, 11:31 AM
Post #4





Group: Verified NS Member
Posts: 239
Joined: 10-July 08
Member No.: 1,416



QUOTE (brad @ Dec 4 2008, 11:31 AM) *
The runtime error is happening in IE7 because of the form used in the custom html for that page. With asp.net every page is already a form. Including a form in your html causes a nested form, which is trouble (especially for IE). See this page for details on how to get around this problem...

http://ecommerce.networksolutions.com/supp...p?questionid=45

Ah! Forgot about that. Thanks
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
Tags
No Tag inserted yet

1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

RSS Lo-Fi Version    Network Solutions © 2010 Time is now: 22nd March 2010 - 12:44 AM
Domain Names | Web Hosting | Web Design | Shopping Cart Software | Online Marketing | SSL Certificates