S
Simon Wigzell
My client has many forms on his Business website. They all use the
"onsubmit" verification method e.g.
<form ......... onsubmit="return FormValidator(this);">
<script>
function FormValidator(TheForm)
{
if (TheForm.[Field].value == "")
{
alert("You must complete field blah blah blah");
return false;
}
return true;
}
</script>
(I just typed this out so please don't bother correcting any typos or syntax
errors)
Works fine for me, works fine for most people but occassionally the
resulting form results that are emailed to him by the webpage have empty
fields. It is not possible to submit the form with the fields empty. (No,
they don't contain spaces either. Same thing happens for selection lists
where the first field is blank)
Anyone ever seen this before? I've emailed the clients to ask them what
their operating system/browser etc. are but they can't be bothered to reply.
I know they have javascript working because the forms are all in popup
windows created by javascript.
Any ideas at all? Thanks!
"onsubmit" verification method e.g.
<form ......... onsubmit="return FormValidator(this);">
<script>
function FormValidator(TheForm)
{
if (TheForm.[Field].value == "")
{
alert("You must complete field blah blah blah");
return false;
}
return true;
}
</script>
(I just typed this out so please don't bother correcting any typos or syntax
errors)
Works fine for me, works fine for most people but occassionally the
resulting form results that are emailed to him by the webpage have empty
fields. It is not possible to submit the form with the fields empty. (No,
they don't contain spaces either. Same thing happens for selection lists
where the first field is blank)
Anyone ever seen this before? I've emailed the clients to ask them what
their operating system/browser etc. are but they can't be bothered to reply.
I know they have javascript working because the forms are all in popup
windows created by javascript.
Any ideas at all? Thanks!