Closed umkasanki closed 1 week ago
I think I have encountered the similar issue. Is it a bug or I'm doing something wrong?
That's odd, refer to my testing:
Front-end
Submission content
Field Mapping (for Lead)
Payload sent to Salesforce
So looks like your submission data is all looking good, does the submission look correct in the control panel?
You are right. The problem was in my module.
Describe the bug
I have such setup of SalesForce integration:
Actual behavior
If user fill phone with country code all works as expected:
Formie submission data:
SF submission data:
If the user fills a phone number without a country code, the SF submission will not include country data.:
Formie submission data:
Formie submission data:
Expected behavior
Since we have country data obtained from the Country code field, there is no need to re-enter the code in the Phone Number field. Country data should be sent to the SF based on the data from the Country code field.
Could you fix it?
Steps to reproduce
Form settings
Craft CMS version
Craft Pro 5.4.9
Plugin version
dev-craft-5
Multi-site?
Yes
Additional context
No response