Resourceful Validation: Error Field?

6 views
Skip to first unread message

Philip Weaver

unread,
Aug 9, 2012, 10:39:28 AM8/9/12
to flati...@googlegroups.com
After I call validate on my resource, is there a way to know which error applies to which field? I am validating a form and want to present each error message next to each form field.

Thanks,
Philip

Pavan Kumar Sunkara

unread,
Aug 9, 2012, 11:12:20 AM8/9/12
to flati...@googlegroups.com
Hey

Yes, you can know it. Just console.log the error, and you can see it.
--
- Pavan Kumar Sunkara
Reply all
Reply to author
Forward
0 new messages