DebugBar Forums
 
 HOME 
 DOWNLOAD 
 BUY 
 DOC / WIKI 
 FORUM 
 CONTACT 
Stay tuned : rss feed

Forum Home


advanced search


You are not logged in.

Announcement

When reporting a problem or a bug :
* Provide your OS version (INCLUDING service pack) and installed IE version.
* Provide your IETester version
* Provide the IE Tab version opened to generate the problem
* Provide a test case with a sample url or sample code to reproduce the problem
* Provide a step by step explanation on how to reproduce the problem.
* If needed provide additional information.

Thanks.

#1 2010-01-21 20:09:45

nobodynothing
New member
Registered: 2010-01-21
Posts: 3

Form improperly uses GET instead of POST

Although my form's method attribute is set to POST, IETester seems to be sending a GET request instead. I've verified this happens in IE6 mode using Fiddler. Here's the code for a page demonstrating this error:

Code:

<html>
<head></head>
<body>
<div style="display:none">
<form id="formId" name="formName" action="formAction" target="_blank" method="POST">
<input type="text" name="textName" value="textValue" />
</form>
</div>
<div onclick="document.formName.submit();">
<h1>CLICK ME!</h1>
</div>
</body>
</html>

My OS is Microsoft Windows XP Professional Version 2002 Service Pack 3
I have IE8 installed.

Offline

 

#2 2010-01-28 08:40:19

fabrice
DebugBar Support
From: San Francisco, CA, USA
Registered: 2007-11-08
Posts: 1180
Website

Re: Form improperly uses GET instead of POST

Hi,

This is because of the target="_blank".

This is a limitation of IETester so far : new opened popup windows are not handled 100% correctly (window.parent will not work for example) and another limitation is that the posted forms are not sent correctly when using target=_blank.

Offline

 

#3 2010-01-29 22:12:15

nobodynothing
New member
Registered: 2010-01-21
Posts: 3

Re: Form improperly uses GET instead of POST

Looks like I'll have to push for a real IE6 install to test this app sooner rather than later (network security here won't allow Windows Virtual PC).

Thanks for your response!

Offline

 

Partners : Debugbar | Mobilier de bureau | Debugbar Wiki | IEForge | Lampes design | La fourmi créative