Closed
Bug 59258
Opened 25 years ago
Closed 25 years ago
form cannot be submitted (or at least doesn't act like it's been submitted)
Categories
(Core :: DOM: Core & HTML, defect, P2)
Tracking
()
VERIFIED
FIXED
People
(Reporter: buster, Assigned: rods)
References
()
Details
this is a netcenter page, using WinNT 20001106 rtm candidate client.
1. go to the url
2. fill in all fields
3. click submit
4. the page refreshes, with the form elements reset to empty
5. this is the url of the refreshed page:
http://netscape.homestore.com/Sweeps/CornerHW/Survey.asp?Q1=Steve&Q2=Clark&Q3=10172+Pinecastle+St&Q4=san+diego&Q5=California&Q6=92131&Q7=buster%40netscape.com&Q8=858-618-2225&Q9=Website&Submit=Submit&gate=aolnetscape2&source=a2nsrtrt36
I tried this in 4.x and it works fine there.
After submitting the form, the resulting url should have been:
http://www.homestore.com:80/Sweeps/CornerHW/Thanks.asp?gate=aolnetscape2&source=a2nsrtrt36
Priority: P3 → P2
Not a form submission problem. I can see form data being submitted on
TracePlus32. The problem is submission happens to an unspecified location
because that's what the website is asking the client to do. See the following
code:
<form action="http://www.realtor.com/Sweeps/CornerHW/Save.asp" METHOD="get"
onSubmit="return checkForm(this)">
<form>
<table border="0" cellspacing="3" cellpadding="3" align="left">
<tr>
....
<td>
<input type="text" name="Q1">
</td>
....
There is a form element embedded in the form that has the action attribute, so
all elements in the inner form are submitting data to a form that has no action.
Besides the action attribute is Required for valid HTML.
I copied the webpage into a local server and removed the inner <form> tag, and
voila! NS 6.0 gets the "Thank you" notice responded by the server. The onSubmit
event fired, JavaScript validates the form data, and the form is submitted to
the href specified in the action attribute.
This should be fixed in Netcenter.
Keywords: netcenter
Great, Gerardo!
I will forward this over to Netcenter for them to correct. I'll cc: greggl for now.
got a phone call from kevinm at Netcenter. I will forward this bug to him so
our partners can fix on their end. Thanks for notifying kevinm for me, Gregg!
kevinm tells me the page has been corrected.
I have verified this in my Win32 build (dated 11/8).
After I submit the sweepstakes, I got a thank you and get taken to
http://www.homestore.com/Sweeps/CornerHW/Thanks.asp?gate=aolnetscape2&source=a2nsrtrt36
.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
verified. 20001107 rtm candidate on winnt (not that it matters, it's a
server-side fix)
Status: RESOLVED → VERIFIED
Updated•6 years ago
|
Component: HTML: Form Submission → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•