Customer Form Wont Submit Phone Number Correctly

I can’t get my customer form to submit the phone number field correctly and have it populate the phone field in the backends’ customer profile. The only way I could get it to capture phone at all was by having the form create a note within the customer profile. This workaround is fine for now but I want it to work correctly. All the other data (First Name, Last Name, Email) is populated in the appropriate and respective fields in the customer profile. Any ideas? See my current code below with the “note workaround” (I bolded the pertinent section):

{% form 'customer' %}

**
Email
First name
Last name
Phone number
{% endform %}

I’ve tried many different iterations/combinations of the type and name parameters of the input tag but nothing works except to create the note:

type=“tel” name=“contact[note]”

type=“tel” name=“contact[phone]”

type=“tel” name=“contact[phone_number]”

type=“num” name=“contact[phone]”

type=“num” name=“contact[phone_number]”

Nothing works… : (

Hi, I have the same issue. Did you find a solution for this? Thanks.

Actually no - I just have it add the phone number in the Notes section and manually port it over - horrible.

Thanks for replying. I added it as note too, not ideal at all.

1 Like