Closed
Bug 51259
Opened 26 years ago
Closed 26 years ago
form post with taget doesn't submit data correctly for hidden value
Categories
(Core :: Layout: Form Controls, defect, P3)
Tracking
()
People
(Reporter: prow1, Assigned: rods)
Details
From Bugzilla Helper:
User-Agent: Mozilla/4.5 [en] (Win95; I)
BuildID: M17 for Win95 and Linux
When the following code is used the values are not submitted, nothing appears to
be wrong with the code it works with NS4.x and IE
<FORM METHOD=POST ACTION=Reports/StaffMember_TT.asp TARGET=stafftt><INPUT
TYPE=HIDDEN NAME="staff_id" VALUE="AE"><INPUT TYPE=SUBMIT
VALUE=Timetable for Ainslie Ellis></FORM>
<FORM METHOD=POST ACTION=Reports/Subject_TT.asp TARGET=subjecttt><INPUT
TYPE=HIDDEN NAME="Subjectname" VALUE="CPE1001"><INPUT TYPE=SUBMIT
VALUE="Timetable for OO Programming in Java">
</FORM>
<FORM METHOD=POST ACTION=Reports/course_TT.asp TARGET=cousett><INPUT TYPE=HIDDEN
NAME="course_id" VALUE="1"><INPUT TYPE=SUBMIT
VALUE="Timetable for Bachelor of Network Computing 1st Year"></FORM>
<FORM METHOD=POST ACTION=Reports/room_TT.asp TARGET=roomtt>
<INPUT TYPE=HIDDEN NAME="Room_id" VALUE="FBLCK"><INPUT TYPE=SUBMIT
VALUE=Timetable for FBLCK>
</FORM>
Reproducible: Always
Steps to Reproduce:
1. run the included code
2.
3.
Actual Results: Values were not submitted to the server.
Expected Results: Values should have been submitted to the server
<FORM METHOD=POST ACTION=Reports/StaffMember_TT.asp TARGET=stafftt><INPUT
TYPE=HIDDEN NAME="staff_id" VALUE="AE"><INPUT TYPE=SUBMIT
VALUE=Timetable for Ainslie Ellis></FORM>
<FORM METHOD=POST ACTION=Reports/Subject_TT.asp TARGET=subjecttt><INPUT
TYPE=HIDDEN NAME="Subjectname" VALUE="CPE1001"><INPUT TYPE=SUBMIT
VALUE="Timetable for OO Programming in Java">
</FORM>
<FORM METHOD=POST ACTION=Reports/course_TT.asp TARGET=cousett><INPUT TYPE=HIDDEN
NAME="course_id" VALUE="1"><INPUT TYPE=SUBMIT
VALUE="Timetable for Bachelor of Network Computing 1st Year"></FORM>
<FORM METHOD=POST ACTION=Reports/room_TT.asp TARGET=roomtt>
<INPUT TYPE=HIDDEN NAME="Room_id" VALUE="FBLCK"><INPUT TYPE=SUBMIT
VALUE=Timetable for FBLCK>
</FORM>
Reporter: You are using an old build (M17). Could you try this on a more recent
build? I tried another form with a hidden value and it worked, but I didn't try
the above code. Could you kindly put it into an attachment for us all? :)
Comment 2•26 years ago
|
||
Hidden values work fine on:
- LinuxRH62 2000-09-05-08-M18 Commercial
- Win98 2000-09-05-08-M18 Commercial
- MacOS86 2000-09-05-08-M18 Mozilla
Marking INVALID.
Status: UNCONFIRMED → RESOLVED
Closed: 26 years ago
Resolution: --- → INVALID
| Assignee | ||
Comment 3•26 years ago
|
||
Actually, it has to do with hidden values where the for post has a target -
reopening
Status: RESOLVED → UNCONFIRMED
Resolution: INVALID → ---
| Assignee | ||
Comment 4•26 years ago
|
||
*** This bug has been marked as a duplicate of 41241 ***
Status: UNCONFIRMED → RESOLVED
Closed: 26 years ago → 26 years ago
Resolution: --- → DUPLICATE
| Assignee | ||
Updated•26 years ago
|
Summary: Hidden values are not submitted → form post with taget doesn't submit data correctly for hidden value
You need to log in
before you can comment on or make changes to this bug.
Description
•