Description

In KS, we noticed that in a collection addLine, if the field is required field, the framework always performs required validation checks when the focus is changed from a required field in addLine to other, which leads to the error display on the screen. Although the error does not prevent users from saving the page, it would be better to avoid required validation checks on addLine till users explicitly click add button.

Issue Links

discovered by

KSENROLL-6184ACAL - Throwing errors when trying to add key date, but error is not disclosed

fixes

KPME-3019Rice fix needed: Required errors should not show on new lines in collections

Activity

the other side to this though is if the user is actually adding the line wouldn't it be better to show them the error as they are filling it out, rather than clicking the add button and getting errors about the line?

Jerry Neal (Inactive)
added a comment - 24/May/13 3:31 PM Bonnie,
the other side to this though is if the user is actually adding the line wouldn't it be better to show them the error as they are filling it out, rather than clicking the add button and getting errors about the line?
Jerry

Christie Heitkamp (Inactive)
added a comment - 18/Mar/14 10:57 AM UX architect comment from KRAD prioritization sheet:
From the screenshots in the associated jira https://jira.kuali.org/browse/KSENROLL-6184 , the type of validation currently being used seems to create an ineterruption and unexpected UX. Recommendation is to use subtle inline validation while the user is completing the row. Refer to this article: http://alistapart.com/article/inline-validation-in-web-forms

Great article, Christie. The reactions recorded in the section titled "After method helps users to complete forms more quickly" are particularly appropriate to the way it acts now – "It’s frustrating that you don’t get the chance to put anything in [the field] before it’s flashing red at you.”

Richard Slabach
added a comment - 18/Mar/14 4:13 PM Great article, Christie. The reactions recorded in the section titled "After method helps users to complete forms more quickly" are particularly appropriate to the way it acts now – "It’s frustrating that you don’t get the chance to put anything in [the field] before it’s flashing red at you.”

It actually does give you a chance to fill out the field before. No validation messages are shown until you have entered the field and left. In addition, the errors shown follow the inline validation recommendations. Just the field is highlighted, only when you hover over to you see the tooltips. Also there is an option in the framework to show the message with the field instead of the tooltip.

Also, note in the related Jira the screenshots are misleading. You don't get errors like this on cilent side validation, only when the page is submitted.

This jira is just to skip the messages on the add line, because users might be tabbing through without the intention of adding the line. We should keep the scope to that, and address other error issues with different Jiras. Although our current error handling has been vetted multiple times and was outlined by a consulting group.

Jerry Neal (Inactive)
added a comment - 18/Mar/14 4:25 PM - edited It actually does give you a chance to fill out the field before. No validation messages are shown until you have entered the field and left. In addition, the errors shown follow the inline validation recommendations. Just the field is highlighted, only when you hover over to you see the tooltips. Also there is an option in the framework to show the message with the field instead of the tooltip.
Also, note in the related Jira the screenshots are misleading. You don't get errors like this on cilent side validation, only when the page is submitted.
This jira is just to skip the messages on the add line, because users might be tabbing through without the intention of adding the line. We should keep the scope to that, and address other error issues with different Jiras. Although our current error handling has been vetted multiple times and was outlined by a consulting group.

Tadas Paegle (Inactive)
added a comment - 20/May/14 7:56 PM Validation has been updated. The validation of addLine fields is skipped until the add button is clicked or if the user enters a value in the field.