If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

more than one input field on the same page with different forms shows the last value

RESOLVED EXPIRED

Status

()

Toolkit
Form Manager
RESOLVED EXPIRED
15 years ago
9 years ago

People

(Reporter: Yohan Fernando, Unassigned)

Tracking

Trunk
x86
Windows XP
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

15 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3) Gecko/20030312
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3) Gecko/20030312

When a page which has more than one form with different names which have the
<input type="text" > tags with the same name with the same value, shows the
value only on the last input field. This code works fine on IE. 

Reproducible: Always

Steps to Reproduce:
1.view the page supplied in "additional info" in mozilla 1.3
2.
3.

Actual Results:  
Shows values in the last field

Expected Results:  
Show values on all the fields 

<table width="71%" border="0">
            <form action= "addtobasket.jsp" name= "product0" method= "post">
			<tr>
    			<td> Fairy liquid 1500ml</td>
				<td> 1.2900</td>
    			<td><input name="quantity" type="text" size="3" value ="1"><input
type="hidden" name="product_id" value ="1" ></td>
    			<td><a href="javascript:window.document.product0.submit()">Add to
basket</a></td>
  		   </tr>
			</form>
            <form action= "addtobasket.jsp" name= "product1" method= "post">
			<tr>
						
    			<td> pentium 810</td>
				<td> 1000.0000</td>
				
    			<td><input name="quantity" type="text" size="3" value ="1"><input
type="hidden" name="product_id" value ="2" ></td>
				
    			<td><a href="javascript:window.document.product1.submit()">Add to
basket</a></td>
  		   </tr>
			</form>
            <form action= "addtobasket.jsp" name= "product2" method= "post">
			<tr>
						
    			<td> B&H</td>
				<td> 4.0000</td>
				
    			<td><input name="quantity" type="text" size="3" value ="1"><input
type="hidden" name="product_id" value ="0" ></td>
    			<td><a href="javascript:window.document.product2.submit()">Add to
basket</a></td>
  		   </tr>
			</form>
            <form action= "addtobasket.jsp" name= "product3" method= "post">
			<tr>
						
    			<td> carlsberg</td>
				<td> 100.0000</td>
				
    			<td><input name="quantity" type="text" size="3" value ="1"><input
type="hidden" name="product_id" value ="7" ></td>
				
    			<td><a href="javascript:window.document.product3.submit()">Add to
basket</a></td>
  		   </tr>
			</form>
</table>
Assignee: dveditz → nobody
This is an automated message, with ID "auto-resolve01".

This bug has had no comments for a long time. Statistically, we have found that
bug reports that have not been confirmed by a second user after three months are
highly unlikely to be the source of a fix to the code.

While your input is very important to us, our resources are limited and so we
are asking for your help in focussing our efforts. If you can still reproduce
this problem in the latest version of the product (see below for how to obtain a
copy) or, for feature requests, if it's not present in the latest version and
you still believe we should implement it, please visit the URL of this bug
(given at the top of this mail) and add a comment to that effect, giving more
reproduction information if you have it.

If it is not a problem any longer, you need take no action. If this bug is not
changed in any way in the next two weeks, it will be automatically resolved.
Thank you for your help in this matter.

The latest beta releases can be obtained from:
Firefox:     http://www.mozilla.org/projects/firefox/
Thunderbird: http://www.mozilla.org/products/thunderbird/releases/1.5beta1.html
Seamonkey:   http://www.mozilla.org/projects/seamonkey/
This bug has been automatically resolved after a period of inactivity (see above
comment). If anyone thinks this is incorrect, they should feel free to reopen it.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 12 years ago
Resolution: --- → EXPIRED

Updated

9 years ago
Component: Form Manager → Form Manager
Product: Core → Toolkit
QA Contact: tpreston → form.manager
You need to log in before you can comment on or make changes to this bug.