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

Cannot switch off validation while javaScriptValidation is switched on

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.0
    • Fix Version/s: 2.3.0-M1
    • Component/s: None
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: