Tapestry 5
  1. Tapestry 5
  2. TAP5-538

Add the facility to optionally disable on-focus-change triggered validation while retaining the on-form-submit validation

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 5.0.18
    • Fix Version/s: 5.2.2
    • Component/s: tapestry-core
    • Labels:
      None

      Description

      The built-in client-side validation displays validation message bubbles on form submit, and also when a user changes focus away from a validable field. The former (on-form-submit triggered validation) is useful and a desirable feature from a customer perspective. The latter (on-focus-change triggered validation) is rather annoying, as validation bubbles keep popping up whenever the user clicks or tabs around the form.

      Ideally, it would be desirable to have a configurable option (perhaps on the Form component) to disable the on-focus-change triggered validation popups, while still retaining the on-form-submit triggered popups.

      Note: If the on-focus-change triggered popups validation were disabled, it would still be desirable to monitor the field focus change events, solely to remove existing validation markers (the red label and the x icon) if the field value now passes validation.

        Activity

          People

          • Assignee:
            Howard M. Lewis Ship
            Reporter:
            Scott Russell
          • Votes:
            8 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development