click-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Finn Bock (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CLK-586) Form javascript validation not called when form is submitted with a SubmitLink
Date Thu, 22 Oct 2009 19:54:59 GMT

     [ https://issues.apache.org/jira/browse/CLK-586?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Finn Bock updated CLK-586:
--------------------------

    Attachment: submitlink.patch

A patch that add an explicit call to the on_form_submit() method before calling Click.submitLinkAction(..)

> Form javascript validation not called when form is submitted with a SubmitLink
> ------------------------------------------------------------------------------
>
>                 Key: CLK-586
>                 URL: https://issues.apache.org/jira/browse/CLK-586
>             Project: Click
>          Issue Type: Bug
>          Components: extras
>    Affects Versions: 2.1.0 RC1
>            Reporter: Finn Bock
>            Priority: Minor
>         Attachments: form-example.zip, submitlink.patch
>
>
> Calling form.submit() does not execute code on the onsubmit=".." event handler:
>  http://bytes.com/topic/javascript/answers/147399-submitting-form-onsubmit-validation
> so the the validation code must be also be called on the onclick=".." event handler for
the SubmitLink.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message