Title: Error On Submit
Last modified: December 6, 2017

---

# Error On Submit

 *  [jadams1974](https://wordpress.org/support/users/jadams1974/)
 * (@jadams1974)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/error-on-submit-10/)
 * Im getting this error when i use this plugin.
 * Fatal error: Uncaught exception ‘ZohoException’ with message ‘Unable to populate
   data, please check if mandatory value is entered correctly.’ in /home/youhavepower/
   public_html/wp-content/plugins/cf7-zoho-leads/libs/zoho-crm-api.php:193 Stack
   trace: #0 /home/youhavepower/public_html/wp-content/plugins/cf7-zoho-leads/libs/
   zoho-crm-api.php(130): Zoho->check_successful_xml(‘<?xml version=”…’) #1 /home/
   youhavepower/public_html/wp-content/plugins/cf7-zoho-leads/cf7-zoho-leads.php(
   86): Zoho->insert_record(‘Leads’, Array) #2 [internal function]: cf7zl_cf7_email_hook(
   Object(WPCF7_ContactForm)) #3 /home/youhavepower/public_html/wp-includes/class-
   wp-hook.php(298): call_user_func_array(‘cf7zl_cf7_email…’, Array) #4 /home/youhavepower/
   public_html/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(”, Array)#
   5 /home/youhavepower/public_html/wp-includes/plugin.php(453): WP_Hook->do_action(
   Array) #6 /home/youhavepower/public_html/wp-content/plugins/contact-form-7/includes/
   submission.php(288): do_action(‘wpcf7_before_se…’, in /home/youhavepower/public_html/
   wp-content/plugins/cf7-zoho-leads/libs/zoho-crm-api.php on line 193
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-on-submit-10%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Augusto](https://wordpress.org/support/users/guto182/)
 * (@guto182)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/error-on-submit-10/#post-9757924)
 * Hello [@jadams1974](https://wordpress.org/support/users/jadams1974/)!
 * There are two mandatory fields in Zoho Leads: company and last-name.
 * So you need to put it into your form to avoid this type of error.
    If you do 
   not want this 2 fields visible in the form, you can put it hidden including this
   2 tags in contact form 7 like the example below:
 * [hidden last-name “N/A”]
    [hidden company “N/A”]
 * After this it will work nicely. Please let me know if it worked for you.
 * Regards,
    Augusto
 *  Thread Starter [jadams1974](https://wordpress.org/support/users/jadams1974/)
 * (@jadams1974)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/error-on-submit-10/#post-9811480)
 * I am not getting the email or the phone or first name into zoho. Only last name
   is populating. I have made emial, first name, last name, phone all mandatory 
   both in CRM and in form.
 * See form here. [http://www.youhavepower.com/contact-us](http://www.youhavepower.com/contact-us)
 * Thank you

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

The topic ‘Error On Submit’ is closed to new replies.

 * ![](https://ps.w.org/cf7-zoho-leads/assets/icon-256x256.png?rev=1506269)
 * [Contact Form 7: Zoho Leads integration](https://wordpress.org/plugins/cf7-zoho-leads/)
 * [Support Threads](https://wordpress.org/support/plugin/cf7-zoho-leads/)
 * [Active Topics](https://wordpress.org/support/plugin/cf7-zoho-leads/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cf7-zoho-leads/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cf7-zoho-leads/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [jadams1974](https://wordpress.org/support/users/jadams1974/)
 * Last activity: [8 years, 5 months ago](https://wordpress.org/support/topic/error-on-submit-10/#post-9811480)
 * Status: not resolved