List of validation errors - InfoPath Dev
in

InfoPath Dev

List of validation errors

Last post 02-12-2015 08:22 AM by Hilary Stoupa. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 02-12-2015 06:17 AM

    List of validation errors

    Is there a way within qRules (I have 6.1 installed) or without code to access a complete list of the validation errors within an O365 browser form? I want to prompt the user (maybe through repeating table) to correct validation errors by letting them know where to find them (without having to dig through my form). Thanks as always!
  • 02-12-2015 07:07 AM In reply to

    Re: List of validation errors

    Hi, Shane - the GetErrors command does this - I usually copy the result into another field so that another command doesn't overwrite the info. Let me know if you need more help!

    Hilary Stoupa

  • 02-12-2015 08:12 AM In reply to

    Re: List of validation errors

    Thank you! Now for the second part (of course). I have it working and can see that the errors get put into the result node. If there is one error, I can easily copy that to another field, but is appears that if there are more than one error, it concats all of the errors into the result field. How would I move the errors to different lines in a repeating table? (Or would you suggest a better way to create a list of the errors in the form for the end user). Thanks again for your help Hilary.
  • 02-12-2015 08:22 AM In reply to

    So - there are actually breaks in there, you just can't see them. I double checked my form where I've used this command, and what I did was add a text box bound to the (single) field I copied the rules into. I'm including a screenshot of the settings for that control and how the errors look - remove the borders on the text box so users know they can't type in it. :)

    I've outlined the bit that is in the text box - I just add a field to a secondary XML file for this, so I know it will be empty on re-open. Oh, I should add - this is a Filler form, so if you have a different experience in browser, please let me know.


    Hilary Stoupa

Page 1 of 1 (4 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.