No, idea of PerForm, but could you add the onSubmit-Event using JavaScript like this:

-----------------8<-----------------

<xsp:page>
    <xsp:logic>
    ... form logic here ...
    </xsp:logic>

    <html>
    <head>
        <title>An Example Form</title>
<script>
function checkSubmit()
{
    // here you do the checking
}

function addFormListener()
{
    document.forms["myForm"].onsubmit = checkSubmit;
}
</script>
    </head>
    <body onLoad="addFormListener()">
     <h1>An Example Form</h1>
     <f:form name="myForm">
      ... form definition here ...
     </f:form>
    </body>
    </html>
  </xsp:page>

</body>

-----------------8<-----------------

Tom

Colin Goodier wrote:
Hi,

We recently upgraded to PerForm 1.83 in an attempt to get rid of the bug
in the 1.7 version whereby the drop-down menus are not re-populated when
the form is re-submitted when there is an error in the original
submission.

However, we found that the upgrade caused more problems, in that the
form appeared not to be submitted at all! So, as the lesser of two evils
we reverted to the older version, which at least works.

Has anybody else had any problems with the latest version of PerForm?

I was wondering if I could get round it by using JavaScript to validate
the form, but I see that the 'onSubmit' (or onClick') call is a feature
of the later versions only, so may be a no-no for us too :-(

Colin Goodier





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to