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-11729Selectively disable client side validation on KRAD collections
      KULRICE-13979Lookups within a dialog's nested groups with depth > 1 do not work
      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

          Douglas Pace made changes -
          Field Original Value New Value
          Link This issue cloned from KRACOEUS-7101 [ KRACOEUS-7101 ]
          Douglas Pace made changes -
          Project KC Coeus [ 10240 ] Kuali Rice Development [ 10220 ]
          Key KRACOEUS-7102 KULRICE-12235
          Issue Type Enhancement [ 45 ] Improvement [ 4 ]
          Workflow KC Coeus Workflow [ 340304 ] Rice Workflow [ 340305 ]
          KRAD Feature Area Business Rules [ 14295 ]
          Include in Release Notes? Yes [ 14658 ]
          Security Public [ 10056 ]
          KTI Review Status Not Required [ 13053 ]
          KAI Review Status Not Required [ 13050 ]
          Requires Application Refactoring No [ 10923 ]
          Code Review Status Not Required [ 14985 ]
          Impacts Coeus? No [ 12370 ]
          Documentation Review Status Pending Review [ 14643 ]
          QA Workflow Requires Review [ 11833 ]
          Responsible Team Rice Team [ 10940 ]
          Reviewed by Prioritization Committee No [ 10443 ]
          KC QA Environment N/A [ 11845 ]
          Affects Version/s 2.4 [ 16913 ]
          Affects Version/s Release 6.0 [ 17062 ]
          QA Review Status Pending Review [ 13669 ]
          KC Functional Area Proposal Development [ 14576 ]
          Application Requirement KC [ 10875 ]
          Rice Module KRAD [ 13071 ]
          Proceed? Unhindered [ 10760 ]
          Component/s Development [ 11244 ]
          Component/s Development [ 11450 ]
          Forced Change No [ 11114 ]
          Travis Schneeberger made changes -
          Assignee Travis Schneeberger [ tschneeb ]
          Jerry Neal (Inactive) made changes -
          Epic Link KULRICE-11464 [ 129606 ]
          Jerry Neal (Inactive) made changes -
          Original Estimate 2 days [ 57600 ]
          Remaining Estimate 2 days [ 57600 ]
          Component/s User Experience (UX) [ 13465 ]
          Jerry Neal (Inactive) made changes -
          Fix Version/s 2.5 [ 17044 ]
          Assignee Brian Smith [ bsmith ]
          Jerry Neal (Inactive) made changes -
          Link This issue is related to KULRICE-10443 [ KULRICE-10443 ]
          Jerry Neal (Inactive) made changes -
          Sprint 2.5.0-m1 Sprint 3 [ 237 ]
          Jerry Neal (Inactive) made changes -
          Rank Ranked higher
          Jerry Neal (Inactive) made changes -
          Summary KRAD - Client side validations do not work within a lightbox KRAD - Client side validations do not work within a dialog
          Brian Smith (Inactive) made changes -
          Remaining Estimate 2 days [ 57600 ] 1 day, 2 hours [ 36000 ]
          Time Spent 6 hours [ 21600 ]
          Worklog Id 94229 [ 94229 ]
          Brian Smith (Inactive) made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Larry Symms made changes -
          Link This issue is relied upon by KSENROLL-12994 [ KSENROLL-12994 ]
          Matt Sargent made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Claus Niesen made changes -
          Link This issue relates to KULRICE-14261 [ KULRICE-14261 ]

            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