Hello GCians,
I am having problem with record addition. When I add a record and if validation is violated it shows
{"success:false}
and
on success.
Any idea if it has happened before to someone?
⚠ 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. ⚠
Posted 26 November 2015 - 07:37 AM
Hello GCians,
I am having problem with record addition. When I add a record and if validation is violated it shows
{"success:false}
and
on success.
Any idea if it has happened before to someone?
Posted 26 November 2015 - 07:51 AM
Got the issue. I have included jquery.latest.min.js. After commenting that line everything works fine.
Now, how can I tackle this issue. Please help.
Posted 26 November 2015 - 16:48 PM
Hi! What means "Any idea if it has happened before to someone?"
Posted 27 November 2015 - 03:18 AM
HI..I meant that help me if someone has faced similar problem before and got solution.
Anyways, I have found the cause of the problem mentioned in my second post. Help me to solve this.
Posted 27 November 2015 - 13:28 PM
so what is the problem??? u had write on some error when u add record u have one message and when success u have another one, so what is the question?
where is the problem? Thats what i point to u say me
Posted 30 November 2015 - 03:10 AM
Let me clear. When I add a record, it gets added and if validation fails it is not added. Everything is working fine, but, after addition of a record the grocery crud default page is not shown, (i.e. add record page). It only shows the messages(as I specified in my first post) in a blank page. This is the problem.
And this happens because of a line in which I am adding jquery.latest.min.js. When I comment this line everything works fine.
Posted 30 November 2015 - 16:23 PM
u a dont have any js errors? seems that this is just javascript errors