We are eager to talk to you as well.

Corporate Headquarters

Office No.308, 3rd Floor,
City Space, Survey No.198/A,
Viman Nagar, Pune Nagar Road,
Pune-411014

+91 020-6647230

contactus@kalzoomadvisors.com

'Get In Touch', 'bgcolor' => '#ffffff', 'text_align' => 'center', 'title_color' => '#000000', 'padding' => '40px', ), $atts ); $contact_email = isset($_POST['schedule_call_email']) ? $_POST['schedule_call_email'] : ''; $captcha_rand_number_1 = rand(5,20); $captcha_rand_number_2 = rand(10,25); $captcha_sum = $captcha_rand_number_1+$captcha_rand_number_2; $nonce = wp_nonce_field( "Contact Form Submit", "contact_nonce", true, false ); $contact_form = '

'.$a["title"].'

'.$captcha_rand_number_1.' + '.$captcha_rand_number_2.' =

' .$nonce. '
'; return $contact_form; } add_shortcode( 'custom_contact_form', 'custom_contact_form_shortcode_function' ); function submitContactForm(){ $output = array(); if( isset($_POST['contact_nonce']) && $_POST['contact_nonce']!='' && wp_verify_nonce($_POST['contact_nonce'], 'Contact Form Submit') ) { $error = array(); $contact_name = isset($_POST['contact_name']) ? sanitize($_POST['contact_name']) : ''; // NOSONAR $contact_email = isset($_POST['contact_email']) ? $_POST['contact_email'] : ''; $contact_company = isset($_POST['contact_company']) ? sanitize($_POST['contact_company']) : ''; $contact_phone = isset($_POST['contact_phone']) ? $_POST['contact_phone'] : ''; $contact_message = isset($_POST['contact_message']) ? sanitize($_POST['contact_message']) : ''; $contact_captcha = isset($_POST['contact_captcha']) ? md5($_POST['contact_captcha']) : ''; $contact_captcha_verify = isset($_POST['contact_captcha_verify']) ? $_POST['contact_captcha_verify'] : ''; $referer = isset($_POST['_wp_http_referer']) ? $_POST['_wp_http_referer'] : ''; if( empty($contact_name) ) $error['contact_name'] = 'Enter your name'; elseif( !is_alphabets($contact_name) ) $error['contact_name'] = 'Invalid name, enter alphabets only'; if( empty($contact_email) ) $error['contact_email'] = 'Enter your email address'; elseif( $contact_email!='' && !filter_var($contact_email, FILTER_VALIDATE_EMAIL) ) $error['contact_email'] = 'Invalid email address'; if( empty($contact_company) ) $error['contact_company'] = 'Enter your company name'; if( strlen($contact_phone) < 10 && !empty($contact_phone) ) $error['contact_phone'] = 'Invalid phone number, enter numbers only'; if( empty($contact_message) ) $error['contact_message'] = 'Type your query in message field'; if( $contact_captcha !== $contact_captcha_verify ) $error['contact_captcha'] = 'You entered the wrong number in captcha'; if( count($error)==0 ){ $desc = ""; $desc .= "Contact Name: $contact_name
"; $desc .= "Business Email: $contact_email
"; $desc .= "Phone: $contact_phone
"; $desc .= "Company: $contact_company
"; $desc .= "Message: $contact_message
"; $subject = "Contact Enquiry - ".get_bloginfo('name'); $new_contact = array( 'post_title' => "Contact Enquiry - ".$contact_name, 'post_content' => $desc, 'post_status' => 'publish', 'post_type' => 'contacts', 'post_author' => '0' ); $enquiry_id = wp_insert_post($new_contact); $mailText = ""; $mailText .= "$contact_name has filled the contact enquiry form. Below are the details:

"; $mailText .= $desc; $mailText .= "


Regards,
".get_bloginfo('name'); $message = do_shortcode('[email_template_header]').'

DEAR ADMIN,

'.$mailText.'

'.do_shortcode('[email_template_footer]'); $headers[] = 'MIME-Version: 1.0'; $headers[] = 'Content-type: text/html; charset=iso-8859-1'; $headers[] = 'From: '.$contact_name.' <'.$contact_email.'>'; $mail = wp_mail( 'karn.vijra@kalzoomadvisors.com, ipsita.nayak@kalzoomadvisors.com, surajg@bolddialogue.com, karnvijra@gmail.com', $subject, $message, implode("\r\n", $headers) ); $mail1 = wp_mail( "karn.vijra@kalzoomadvisors.com, ipsita.nayak@kalzoomadvisors.com, surajg@bolddialogue.com, karnvijra@gmail.com", $subject, $message, implode("\r\n", $headers) ); $output['success'] = "

WE HAVE RECEIVED YOUR REQUEST

We will be in touch with you shortly.

"; }else{ $output['error'] = $error; } } echo json_encode($output); die(); } add_action('wp_ajax_submitContactForm', 'submitContactForm'); add_action('wp_ajax_nopriv_submitContactForm', 'submitContactForm'); ?>

Get In Touch

19 + 23 =