[
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.