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

Progressive Render - Required field validation issue on Save button click

    Details

    • Type: Bug Fix Bug Fix
    • Status: Open Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Security Level: Public (Public: Anyone can view)
    • Labels:
    • Similar issues:
      KULRICE-11376HiddenFields are not submitted when part of progressive rendered section.
      KULRICE-12581addViaLightBox validating addLineGroup when the light box is not rendered
      KULRICE-8362Dialog: Progressive Render doesn't work when lightbox is opened for second time
      KULRICE-9586Need to avoid required validation checks on addLine
      KULRICE-8107Progressive disclosure will probably have issues with line validation - untested
      KULRICE-7143click on cancel button, validation warning appears and you remains on the page
      KULRICE-6462Progressive render of "All or First Action" field in PeopleFlow member add section is broken
      KULRICE-5835changes to a field populated by fieldAttributeQuery.returnFieldMapping doesn't trigger progressive rendering based on that value
      KULRICE-5796progressive render of custom agenda attributes is broken
      KULRICE-2272For Edoclite, when 'Save' button clicked, allow fields without data to bypass validation. Modify edoclite1.js Also change EdocliteDef.xsd to allow null value in '<values>' type.
    • Epic Link:
    • Rice Module:
      KRAD
    • KAI Review Status:
      Not Required
    • KTI Review Status:
      Not Required
    • Code Review Status:
      Not Required
    • Include in Release Notes?:
      Yes

      Description

      See KRAD discussion thread: https://groups.google.com/a/kuali.org/forum/#!topic/rice.usergroup.krad/F2zTPkEUEGc

      >>

      we are facing an issue with progressive render on input-field controls.
      Please find the attached screenshot which best explains our scenario.

      Based on the value of "Slot Allocation Method" dropdown we use progressive render to display "Appt. Rule Type/Interval" dropdown and "Max #" text control.
      we're able to successfully add the data using addLine without any issues.

      Strangely once i add the data to the table and try to click the Save button. It throws error stating "Form contains error. Please correct these errors and try again". It show the dropdown in addLine row being highlighted as required.

      What i think based on my analysis is,
      1) Progressive Render may be cause of issue because it toggles between display: none and display:block and during this "ignoreValid" CSS class is being added/removed from the dropdown.
      a) When the ignoreValid css class is added to the dropdown then i'm able to save the window without any errors.
      b) I tried adding ignoreValid CSS class to the dropdown using the onchange event but this validation is completely handled by the KRAD and JQuery it seams so it automatically removes the CSS Class ignoreValid.

        Issue Links

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              Unassigned
              Reporter:
              Daniel Epstein (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:

                Structure Helper Panel