Uploaded image for project: 'Click'
  1. Click
  2. CLK-730

Cannot switch off validation while javaScriptValidation is switched on

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.2.0
    • 2.3.0-M1
    • None
    • None

    Description

      If a page switch JS validation on and server side validation off, the Form renders an onsubmit attribute but no handler is rendered. That is because Form checks whether getValidate && isJavaSriptValidation is true before rendering the JS validation. However when rendering the onsubmit attribute, Form only checks is isJavaSriptValidation is true. I think From shouldn't tie client-side and server-side validations together as there are use cases for having one without the other.

      Attachments

        Activity

          People

            sabob Bob Schellink
            sabob Bob Schellink
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: