I've got a form which has the following code:
<form action="/cgi-bin/FormMail.pl" method="POST"
language="JavaS cript"
onsubmit="retur n FrontPage_Form1 _Validator(this )"
name="FrontPage _Form1">
It works, but I don't understand it. If I try and use this code on
another site it fails (Error: Object expected), but works with:
<form action="/cgi-bin/FormMail.pl" method="POST"
language="JavaS cript"
onsubmit="retur n true">
I think the object expected is "true", and I can see that the method in
the original code may return true or false, but I don't know where this
validation code is! Neither site has FrontPage extensions.
--
Nige
Please replace YYYY with the current year
ille quis mortem cum maximus ludos, vincat
<form action="/cgi-bin/FormMail.pl" method="POST"
language="JavaS cript"
onsubmit="retur n FrontPage_Form1 _Validator(this )"
name="FrontPage _Form1">
It works, but I don't understand it. If I try and use this code on
another site it fails (Error: Object expected), but works with:
<form action="/cgi-bin/FormMail.pl" method="POST"
language="JavaS cript"
onsubmit="retur n true">
I think the object expected is "true", and I can see that the method in
the original code may return true or false, but I don't know where this
validation code is! Neither site has FrontPage extensions.
--
Nige
Please replace YYYY with the current year
ille quis mortem cum maximus ludos, vincat
Comment