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' %}
**| First name | |
| Last name | |
| Phone number | |
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… : (