Title: Form does not submit
Last modified: March 30, 2017

---

# Form does not submit

 *  Resolved [nicheru](https://wordpress.org/support/users/nicheru/)
 * (@nicheru)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/form-does-not-submit-2/)
 * Hi,
 * I am having some issue with form submission.
    The form validates the errors but
   when there are no errors the ajax call does not send any response and there is
   a js error. It is the same ajax call with the first submit(which has errors),
   I am not sure what is causing this.
 * VM85:149 Uncaught TypeError: Cannot read property ‘data’ of undefined
    at Object.
   error (eval at <anonymous> (jquery.js?ver=1.12.4:1), <anonymous>:149:47) at Object.
   request_error (eval at <anonymous> (jquery.js?ver=1.12.4:1), <anonymous>:107:
   16) at do_helper (eval at <anonymous> (jquery.js?ver=1.12.4:1), <anonymous>:128:
   30) at Object.error (eval at <anonymous> (jquery.js?ver=1.12.4:1), <anonymous
   >:512:8) at i (jquery.js?ver=1.12.4:2) at Object.fireWith [as rejectWith] (jquery.
   js?ver=1.12.4:2) at y (jquery.js?ver=1.12.4:4) at Object.abort (jquery.js?ver
   =1.12.4:4) at Object.request (eval at <anonymous> (jquery.js?ver=1.12.4:1), <
   anonymous>:94:54) at do_helper (eval at <anonymous> (jquery.js?ver=1.12.4:1),
   <anonymous>:128:30)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Thread Starter [nicheru](https://wordpress.org/support/users/nicheru/)
 * (@nicheru)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/form-does-not-submit-2/#post-8976692)
 * Hi, this is a cross domain submission.
 *  Plugin Author [Josh Pollock](https://wordpress.org/support/users/shelob9/)
 * (@shelob9)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/form-does-not-submit-2/#post-8980666)
 * [@nicheru](https://wordpress.org/support/users/nicheru/) – The error that you’re
   getting means that a PHP error is happening on the server. You should inspect
   the response to see what it is, or enable PHP debug logging to capture it.
 * [https://calderaforms.com/2016/05/wordpress-debug-logging/](https://calderaforms.com/2016/05/wordpress-debug-logging/)
 *  Thread Starter [nicheru](https://wordpress.org/support/users/nicheru/)
 * (@nicheru)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/form-does-not-submit-2/#post-8985091)
 * Hi Josh,
 * I did the debug logging and there are only php notices, nothing that could stop
   the execution.
    I added some php code in caldera_forms_submit_complete and it
   is working.
 * As what I figured out the error is from the callback function, it does not receive
   the return values from the submission. Where do I trace this issue?
 * Thank you.
 *  Thread Starter [nicheru](https://wordpress.org/support/users/nicheru/)
 * (@nicheru)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/form-does-not-submit-2/#post-8985377)
 * As I was tracing the issue, I found out this code that is aborting the script.
 * if( baldrickRequests[opts.params.trigger.prop(‘id’)] ){ baldrickRequests[opts.
   params.trigger.prop(‘id’)].abort();
    }
 * When I commented it, it is now submitting. Will this affect anything if it is
   commented?
 * Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Form does not submit’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/caldera-forms_475846.svg)
 * [Caldera Forms - More Than Contact Forms](https://wordpress.org/plugins/caldera-forms/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/caldera-forms/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/caldera-forms/)
 * [Active Topics](https://wordpress.org/support/plugin/caldera-forms/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/caldera-forms/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/caldera-forms/reviews/)

## Tags

 * [ajax error](https://wordpress.org/support/topic-tag/ajax-error/)
 * [cross domain](https://wordpress.org/support/topic-tag/cross-domain/)
 * [submission](https://wordpress.org/support/topic-tag/submission/)

 * 4 replies
 * 2 participants
 * Last reply from: [nicheru](https://wordpress.org/support/users/nicheru/)
 * Last activity: [9 years, 1 month ago](https://wordpress.org/support/topic/form-does-not-submit-2/#post-8985377)
 * Status: resolved