⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

Server side validation



jesinor
  • profile picture
  • Member

Posted 03 May 2012 - 15:01 PM

I'm beginning to use Grocery CRUD and it helps me a lot. thank you for sharing this work!

I 'd like to make a question.

How is the usual way to insert server side validation (key violations etc.) so it can show a message ( or so ) to the user on errors? .
Should I make a callback ? is there an example to look for?
Thank you

Norberto

tee_porsche
  • profile picture
  • Member

Posted 21 May 2012 - 14:58 PM

I also got this issue.... any help would be appreciated

web-johnny
  • profile picture
  • Administrator
  • 1,166 posts

Posted 22 May 2012 - 06:07 AM

You have to use the callback of set_rules. You can see an example at: /topic/71-solved-set-rules-is-unique-doesnt-work/page__view__findpost__p__262