Open SharmPRO opened 5 years ago
Issue-Label Bot is automatically applying the label Type: Bug
to this issue, with a confidence of 0.74. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!
Links: app homepage, dashboard and code for this bot.
Hello @SharmPRO Could you provide a bit more info about your situation so we can try to reproduce?
Eg. How are you triggering the ajax call?
Describe the bug if i put an Ajax call into pods_admin_submit_validation function, there is no way to make pods waiting for result, so it always return 'undefined' to the calling script. To Reproduce create function pods_admin_submit_validation(function(valid_form, $submittable ){ make an ajax call return true or false the calling script jquery.pods.js will receive always 'undefined' on lines 128 and 226
Expected behavior receive validation from custom call
Pods Version
Pods - Custom Content Types and Fields: 2.7.14
WordPress Environment