javascript - Need clarification on insert API call in Zoho crm -
i got below error while trying store contact form value zoho.
my xml code: ------------ when give name , email address hard coded works fine: var xmldoc = '<contacts><row no="1"><fl val="first name">peter</fl><fl val="last name">jhon</fl><fl val="email">peter.r@gmail.com</fl></row></contacts>'; while concatenating throw error error: <message>unable parse xml data</message> var xml = '<contacts><row no="1"><fl val="first name">' + contact.firstname + '</fl><fl val="last name">' + contact.lastname + '</row></contacts>';
field label close tag lastname missing
var xml = '<contacts><row no="1"><fl val="first name">' + contact.firstname + '</fl><fl val="last name">' + contact.lastname + '</fl></row></contacts>';
Comments
Post a Comment