Kuali Rice Development
  1. Kuali Rice Development
  2. KULRICE-12235

KRAD - Client side validations do not work within a dialog

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.4
    • Fix Version/s: 2.5
    • Security Level: Public (Public: Anyone can view)
    • Labels:
      None
    • Similar issues:
      KULRICE-13053View dialogs with required fields cause client-side validation to always fail
      KULRICE-14261Enable client side validation in dialogs (backport KULRICE-12235)
      KULRICE-12622KRAD Demo: Client side validation for search criteria
      KULRICE-12742KRAD Lab: Create a test case for server side validation with addWithDialog
      KULRICE-13979Lookups within a dialog's nested groups with depth > 1 do not work
      KULRICE-11729Selectively disable client side validation on KRAD collections
      KULRICE-7026Alter behavior of client side validation
      KULRICE-5156Validate client side flag on view not being looked at for client side validation
      KULRICE-7339Adhoc routing for completion - client side validation
      KULRICE-13010Investigate client side collection rendering
    • Epic Link:
    • Rice Module:
      KRAD
    • KRAD Feature Area:
      Business Rules
    • Application Requirement:
      KC
    • Sprint:
      2.5.0-m1 Sprint 3
    • KAI Review Status:
      Not Required
    • KTI Review Status:
      Not Required
    • Code Review Status:
      Not Required
    • Include in Release Notes?:
      Yes

      Description

      Current KRAD client side validations as enabled by performClientSideValidation="true" do not work when the input and buttons are in a lightbox. We need an improvement to this so that we can execute validations on a wizard like dialog displayed in a light box.

      Currently we have to do the following

      messageSummariesShown = true;
      
      // Doing this custom because this is not functionality built in
      var groupId = ' YOUR_GROUP_ID';
      jQuery('#' + groupId).removeAttr('data-parent');
      
      var valid = jQuery('#kualiLightboxForm').valid(); 
      messageSummariesShown = false;
      return valid;
      

      We'd like to not have to do this at all, but also want to see more flexibility in the validation code so in the future we can easily call targeted validations on specific sections without this extra code.

        Issue Links

          Activity

          Hide
          Jerry Neal (Inactive) added a comment -

          Related to current dialog work

          Show
          Jerry Neal (Inactive) added a comment - Related to current dialog work
          Hide
          Jerry Neal (Inactive) added a comment -

          Updating this to state dialog, since our new dialog implementation uses Bootstrap modal instead of lightbox

          Show
          Jerry Neal (Inactive) added a comment - Updating this to state dialog, since our new dialog implementation uses Bootstrap modal instead of lightbox

            People

            • Assignee:
              Brian Smith (Inactive)
              Reporter:
              Douglas Pace
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 2 days
                2d
                Remaining:
                Time Spent - 6 hours Remaining Estimate - 1 day, 2 hours
                1d 2h
                Logged:
                Time Spent - 6 hours Remaining Estimate - 1 day, 2 hours
                6h

                  Agile

                    Structure Helper Panel