Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Salesforce Integration] Bug with phone country code #2133

Open
umkasanki opened this issue Nov 9, 2024 · 2 comments
Open

[Salesforce Integration] Bug with phone country code #2133

umkasanki opened this issue Nov 9, 2024 · 2 comments

Comments

@umkasanki
Copy link

umkasanki commented Nov 9, 2024

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

  1. Update to Craft 5
  2. Try to submit the form with SF interest

Form settings

  • Multi-page form: Yes
  • Submission Method: Both
  • Client-side Validation: Yes
  • Custom Form Templates: No

Craft CMS version

Craft Pro 5.4.9

Plugin version

dev-craft-5

Multi-site?

Yes

Additional context

No response

@Romanavr
Copy link

I think I have encountered the similar issue.
Is it a bug or I'm doing something wrong?

@engram-design
Copy link
Member

That's odd, refer to my testing:

Front-end
image

Submission content
image

Field Mapping (for Lead)
image

Payload sent to Salesforce
image

So looks like your submission data is all looking good, does the submission look correct in the control panel?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants