jquery_query_builder-rails icon indicating copy to clipboard operation
jquery_query_builder-rails copied to clipboard

Retrieve specific validation failures

Open kcollignon opened this issue 8 years ago • 2 comments

Hi @SixiS

I was wondering if there is a way to get access to which conditions failed validation vs. only receiving a simple TRUE or FALSE if the passed object matched the conditions?

For example, I'd like to present which validation conditions failed validation back to the end user

Thanks!

kcollignon avatar Oct 18 '17 06:10 kcollignon

Hi kcollignon

Thats a great idea - I don't think it is too difficult to implement. I'll look at adding it soon as I get a chance, possibly this weekend.

Thanks for the issue!

SixiS avatar Oct 20 '17 15:10 SixiS

@SixiS thanks! can't wait to see what you come up with. Much appreciated.

kcollignon avatar Oct 20 '17 17:10 kcollignon