import React from 'react';
import getConfig from './../../Config/config'
import ContactData from '../../Services/ContactData';
function Forms() {
var site = getConfig()[0];
function handleSubmit(e) {
e.preventDefault();
// console.log('You clicked submit.');
// console.log(e);
// debugger;
const firstname = e.target['f-name'].value;
const lastname = e.target['l-name'].value;
const email = e.target['email'].value;
const phone = e.target['phone'].value;
const subject = e.target['subject'].value;
const message = e.target['message'].value;
const terms = e.target['terms-conditions'].checked;
//alert(terms);
var callData = [{
"firstname": firstname,
"lastname": lastname,
"email": email,
"phone": phone,
"subject": subject,
"message": message,
"channel": 'WEB'
}];
const callRet = ContactData(callData);
console.log('You clicked submit========> '+ callRet);
}
return (
<>
Looking for help? Fill the form and start a new discussion.
{process.env.REACT_APP_SUPPORT_US_ADDRESS}
{/**/}
{/*{process.env.REACT_APP_SUPPORT_NG_ADDRESS}*/}
{process.env.REACT_APP_SUPPORT_PHONE}
{process.env.REACT_APP_SUPPORT_EMAIL}
Get in touch
Headquaters
Phone
{/*{process.env.REACT_APP_SUPPORT_PHONE_NG}*/}
Support
Let’s Connect