fieldErrors seem to be not working
fieldErrors seem to be not working
I was trying to display a message on a field after doing server validation but the edit form doesn't seem to display it. below is my json
[code]
{"id":185265,"fieldErrors":[{"uname":"Username is mandatory!"}],"aaData":{}}
[/code]
any pointers?
[code]
{"id":185265,"fieldErrors":[{"uname":"Username is mandatory!"}],"aaData":{}}
[/code]
any pointers?
This discussion has been closed.
Replies
So you'd want to return:
[code]
{
"id": 185265,
"fieldErrors": [
{
"name": "uname",
"status": "Username is mandatory!"
}
],
"aaData": {}
}
[/code]
Allan
{"fieldErrors":[{"name": "uname","status": "Username is mandatory!"]}
Allan