[KULRICE-12235] KRAD - Client side validations do not work within a dialog Created: 21/Mar/14  Updated: 11/Jun/15  Resolved: 25/Mar/14

Status: Closed
Project: Kuali Rice Development
Component/s: Development, User Experience (UX)
Affects Version/s: 2.4
Fix Version/s: 2.5
Security Level: Public (Public: Anyone can view)

Type: Improvement Priority: Major
Reporter: Douglas Pace Assignee: Brian Smith (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: 1 day, 2 hours
Time Spent: 6 hours
Original Estimate: 2 days

Issue Links:
relates to KULRICE-14261 Enable client side validation in dial... Closed
is related to KULRICE-10443 Ability to use Dialog's for Confirmat... Closed
is relied upon by KSENROLL-12994 Awaiting Rice Fix - Missing highlight... Open
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: Components
Rice Module:
KRAD Feature Area:
Business Rules
Application Requirement:
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?:


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.

Comment by Jerry Neal (Inactive) [ 24/Mar/14 ]

Related to current dialog work

Comment by Jerry Neal (Inactive) [ 24/Mar/14 ]

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

Generated at Sun Jun 07 00:52:18 CDT 2020 using JIRA 6.1.5#6160-sha1:a61a0fc278117a0da0ec9b89167b8f29b6afdab2.