Help How do I add a name section to a newsletter sign up form?

Hi there! Thanks in advance for your help. I am currently using this code to ask users to sign up for our newsletter. How do I also ask for their contact name as well as their phone number?

Theme: impulse

Path: snippets/newsletter-form.liquid

Code:

{%- assign newsletter_form_id = ‘newsletter-’ | append: section_id -%}
{% form ‘customer’, id: newsletter_form_id %}
{%- if form.posted_successfully? -%}

{{ 'general.newsletter_form.newsletter_confirmation' | t }}
{%- endif -%} {%- if form.errors and form.context == snippet_context -%} {{ form.errors | default_errors }} {%- endif -%}

{%- unless form.posted_successfully? -%}
{{ ‘general.newsletter_form.newsletter_email’ | t }}
{{ ‘general.newsletter_form.submit’ | t }}

{{ 'general.newsletter_form.submit' | t }} icon-right-arrow
{%- endunless -%} {% endform %}

here’s how you can do that

Thank you very much Mr. Ahmed, I would like to try it immediately. Can you share the complete code?

FIRST NAME

LAST NAME

E-MAIL

PHONE

PASSWORD

Can it be this way? You can sign up via email from this pop-up window. A password will be required to log in. Can you create a password from here?

To show the popup, you will need a bit of JavaScript

Thank you very much, it really helped me a lot, thank you