validation rule error messages

  • 5
  • Problem
  • Updated 11 months ago
  • In Progress
I have several active validation rules on the opportunity object. When using a SKUID wizard, the validation rules accurately prevent me from saving without entering the necessary info, but SKUID is not giving the user any feedback. The SF validation rule error messages are not appearing. I would like them to appear at the top of the screen like standard SF. Thoughts?
Photo of Justin Kruse

Justin Kruse

  • 314 Points 250 badge 2x thumb

Posted 4 years ago

  • 5
Photo of Rob Hatch

Rob Hatch, Official Rep

  • 44,006 Points 20k badge 2x thumb
What version of Skuid are you running?  Look at skuidify.com/skuidreleases and install the latest release.  I believe it should take care of the problem for you. 
Photo of Mathieu

Mathieu

  • 156 Points 100 badge 2x thumb
Hello Rob,

I'm using 6.8.7 and I have the same problem.

How to reproduce:

- Create a validation rule
- Create a skuid page with a Field Editor
- Hide the Save/Cancel buttons
- Create a Page Title and add a button called Save
- Use the action "Save model"

So far, the best way I found is to use "On-error action" but I can return concrete error message to the user.

Any idea?
Photo of Irvin Waldman

Irvin Waldman, Champion

  • 9,006 Points 5k badge 2x thumb
Mathieu,

Latest Skuid release is 6.8.20 and you can find it here : http://www.skuidify.com/skuidreleases

Regards,
Irvin
Photo of Christopher Johnson

Christopher Johnson

  • 694 Points 500 badge 2x thumb
I'm having an issue with a wizard as well. The validation rule shows after the final page (submit button) and while the general error message is showing, the error code from the validation rule is not showing. I'm running the latest Banzai release. Any ideas?
Photo of Christopher Johnson

Christopher Johnson

  • 694 Points 500 badge 2x thumb
Ah...found that this wasn't showing because there wasn't an appropriate component on the page to show the error. The validation was to ensure that there was at least one image uploaded and the page only had image uploads. When I changed the validation rule to show on a field and added the fields in a field editor, then it showed on the page. It still didn't show on the page with the fields in a field editor until I had the validation rule show on the field itself.
Photo of Jack Sanford

Jack Sanford, Champion

  • 8,322 Points 5k badge 2x thumb
Validation rules are not showing error messages. Rockaway point release 5, production environment on Summer 16

doesn't matter if top of page or on a field that it on my page layout. I have salesforce header and sidebar turned off on this page.
(Edited)
Photo of Karen Waldschmitt

Karen Waldschmitt, Official Rep

  • 8,220 Points 5k badge 2x thumb
Jack~

I am unable to reproduce this error ... If you upgrade to release 6, does it resolve the issue? I'm sure they are but are the validation rules active? Are there other things on your page that could be blocking the error messages or de-activating the validation rules? 

Thanks!
Karen
Photo of Jack Sanford

Jack Sanford, Champion

  • 8,322 Points 5k badge 2x thumb
Hi Karen, we were just unable to save and didn't know why. When we deactivated all the validation rules the save starting working. We did eventually get an error message to show up, from a workflow rule error. But the errors from the validation rules never did, whether they were set to show top of page or on one of the fields on the layout. Not sure what would be blocking the error messages. I'll let you know if update 6 fixes things.
Photo of Jared Jones

Jared Jones

  • 2,214 Points 2k badge 2x thumb
Hi Jack,  Did this ever get resolved?  I'm having a similar issue where the process builder flow error shows up instead of the field level validation.  Just posted here with screenshots: https://community.skuid.com/skuid/topics/flow-error-displays-instead-of-field-validation
Photo of Jack Sanford

Jack Sanford, Champion

  • 8,322 Points 5k badge 2x thumb
Hi Jared, I'm not sure. We haven't run into it in a bit. 
Photo of Dan Boudreau

Dan Boudreau

  • 820 Points 500 badge 2x thumb
I'm using the new 11.0 release and not getting appropriate validation rule feedback; definitely would like to see if there is a solution!
Photo of Jerry

Jerry

  • 1,150 Points 1k badge 2x thumb
We are also experiencing an issue where validation rule errors are not being displayed to the page. We use a pagetitle component to display messages through javascript and have the exact same code and page correctly displaying the errors in our non Millau updated org