Closed Bug 169935 Opened 23 years ago Closed 23 years ago

"More phrases" button fails to add an additional textbox

Categories

(Core :: DOM: Core & HTML, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 138957

People

(Reporter: bsmith, Assigned: alexsavulov)

References

()

Details

Attachments

(1 file)

web page updates, but no new search blanks are added
I'm not understanding this, but it doesn't sound like form manager. Reassigning.
Component: Form Manager → HTML Form Controls
in the future, please use the bugzilla helper: http://bugzilla.mozilla.org/enter_bug.cgi?format=guided this actually looks like Form Submission or DOM. when you hit "More Phrases" it should load a new page that has an additional set of form elements (a fourth one). Steps to reproduce: 1. open http://search.lycos.com/adv.asp (page has three text boxes) 2. hit "more phrases" button The page should load with 4 text boxes, but only has 3. This works in NS4, but not Mozilla (with linux 1.0 release or trunk build 20020921). Taking the URL (it is submitted via GET) from NS4 and using that in Mozilla, it pulls up the correct page (it has 4 text boxes) marking NEW and reassigning. will probably reassign again once I figure out what's going on.
Assignee: morse → jkeiser
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: "More phrases" button fails → "More phrases" button fails to add an additional textbox
when you hit the "More phrases" button (which is actually an <input name="nwfc" type="image">, it calls a function that changes the form's action from "default.asp" to "adv.asp", and then submits it. If I reset the initial action to "adv.asp" and change the button's onclick handler to do "this.submit()", it works properly. the difference in submitted URLs is that the nwfc's fields are not submitted in the original. here are the two URLs: http://search.lycos.com/adv.asp?loc=searchbox&tab=&query=&adv=1&wfr=&wfw=&wfq=&wfr=%2B&wfw=&wfq=&wfr=-&wfw=&wfq=&wfc=3&df0=i&dfq=&df1=e&dfq=&dfc=2 http://search.lycos.com/adv.asp?loc=searchbox&tab=&query=&adv=1&wfr=&wfw=&wfq=&wfr=%2B&wfw=&wfq=&wfr=-&wfw=&wfq=&wfc=3&nwfc.x=22&nwfc.y=6&df0=i&dfq=&df1=e&dfq=&dfc=2 the first one lacks nwfc fields and does not work ==> Form Submission (?)
Assignee: jkeiser → alexsavulov
Component: HTML Form Controls → Form Submission
OS: Windows 98 → All
QA Contact: tpreston → vladimire
Attached file testcase
testcase. the first does "document.forms[0].submit()" and the second just does "this.submit()". The first one doesn't work about half the time.
Dupe of "Submit name/value pairs for submit buttons that triggered javascript submission" The issue is that when mozilla submits from javascript as a result of clicking on an image it does not submit x/y coordinates, but IE and Netscape 4.x do. *** This bug has been marked as a duplicate of 138957 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Component: HTML: Form Submission → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: