Closed Bug 122617 Opened 23 years ago Closed 20 years ago

camelot-europe.com - form not processed when clicking image with OnSubmit() event

Categories

(Tech Evangelism Graveyard :: French, defect, P2)

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: weriau, Unassigned)

References

()

Details

(Whiteboard: [havecontact][havefix] [proprietary-dom])

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.8) Gecko/20020128
BuildID:    2002012806

a button is supposed to submit a form when clicked, but nothing happens.
javascript console returns :

Error: form1 is not defined
Source File: http://billing.camelot-europe.com/www/login.php?game=daoc&language=fr
Line: 20

... but the form IS defined, on line 14 !! what's wrong ?
By the way the page works with both IE and Opera 6.
Hope this can improve Mozilla, which is an impressive browsers anyway :)

Reproducible: Always
Steps to Reproduce:
1. Click the button looking like a right arrow
2. either fill the form or not, it doesn't matter
3.

Actual Results:  nothing :(

Expected Results:  send the form data

WHERE THE FORM IS DEFINED
 <form METHOD="POST" ACTION="login_valid.php" NAME="form1">

WHERE THE JAVASCRIPT "ERROR" OCCURS
 <!--
function OnSubmit()
{
form1.password.value= calcMD5(form1.password.value + 'SUxPVkVE');
if(form1.login.value == '')
  alert("Vous devez saisir votre login !");
else if(form1.password.value == '')
 alert("Vous devez saisir votre mot de passe !");
else
 form1.submit();
}
-->
instead of "form1." use "document.form1." and it will work
->>
Assignee: alexsavulov → nitot
Component: Form Submission → Europe: West
Product: Browser → Tech Evangelism
QA Contact: vladimire → caillon
Version: other → unspecified
strange ...
that looks like a bug to me ... if there's only one form in the document, one shouldn't have to specify it explicitly in a function, don't you think ?
in my opinion at least :)
confirmed.

the webmaster's email is kemor@goa.com however i don't have time to send him
some mail right now..
Status: UNCONFIRMED → NEW
Ever confirmed: true
added url in the summary.
Summary: form not processed when clicking image with OnSubmit() event → camelot-europe.com form not processed when clicking image with OnSubmit() event
Like there is a contact mail, let's add [havecontact].
Whiteboard: [havecontact]
Priority: -- → P2
Whiteboard: [havecontact] → [havecontact][havefix]
10 months later... has anyone contacted them?
OS: Windows 98 → All
Hardware: PC → All
Whiteboard: [havecontact][havefix] → [havecontact][havefix] [proprietary-dom]
Summary: camelot-europe.com form not processed when clicking image with OnSubmit() event → camelot-europe.com - form not processed when clicking image with OnSubmit() event
New Component
Component: Europe: West → French
-> french default owner
Assignee: nitot → french
QA Contact: z-caillon-obsolete2 → french
site no longer exists, marking invalid
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in before you can comment on or make changes to this bug.