1
zohoにストア連絡フォームの値を入力しようとすると、以下のエラーが表示されます。 lastNameのためZoho crmでAPIコールを挿入する際の説明が必要
My xml code:
------------
When i give the name and email address as hard coded it will works fine:
var xmlDoc = '<Contacts><row no="1"><FL val="First Name">Peter</FL><FL val="Last Name">jhon</FL><FL val="Email">[email protected]</FL></row></Contacts>';
While concatenating it throw error
Error:
<message>Unable to 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>';