⚠ 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

No validation errors ars whown



klinsky
  • profile picture
  • Member

Posted 05 December 2012 - 10:43 AM

When i'm trying to save or update inavlid data, no validation errors are shown, only rotating preloader gif.
The ajax respons is:

<textarea>{"success":false,"error_message":"<p>\u041f\u043e\u043b\u0435 &quot;\u041a\u043e\u0434 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u0438 wm-\u043a\u0430\u0440\u0442\u044b&quot; \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0434\u043b\u044f \u0437\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f.<\/p>\n","error_fields":{"code2":"\u041f\u043e\u043b\u0435 &quot;\u041a\u043e\u0434 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u0438 wm-\u043a\u0430\u0440\u0442\u044b&quot; \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0434\u043b\u044f \u0437\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f."}}</textarea>
Help me pls!

clustersblue
  • profile picture
  • Member

Posted 15 January 2013 - 08:41 AM

I was about to create another post regarding this issue but found yours that seem similar to my problem. My problem is I got error in saving my data but it doesn't show from what field that causes it.


<textarea>{"success":false,"error_message":"","error_fields":[]}</textarea>


What puzzles me much is that I haven't use set_rules on my fields and my Edit function works fine. Does anyone encountered this issue before?

Thanks