How to add First Name and Last Name inside Kalles Newsletter

Hi,

I would like to add “First Name” and “Last Name” fields inside Kalles theme Newsletter Popup Form and footer form.

Here below you find the code, I have tried to insert an input but it seems like shopify is not taking the values of first name and last name. Therefore what I show you now is the clean version of the snippet.

{%- assign form_id = 't4s-form-' | append:form_id -%}
     {%- form 'customer', class:'t4s-pr t4s-z-100 t4s-newsletter__form', id:form_id, data-form-mail-agree:'' -%}
        
           

              

              
                
              

           

           {{-conditions_mail-}}
        

         
            {%- if form.posted_successfully? -%}
            
{{ 'sections.newsletter_form.confirmation' | t }}

            {%- elsif form.errors -%}
            {{ form.errors | default_errors }}
{%- endif -%}
         

     {%- endform -%}
{%- endcase -%}

@LitExtension

Hi @atertonien ,

Please change all code:

{%- assign form_id = 't4s-form-' | append:form_id -%}
   {%- form 'customer', class:'t4s-pr t4s-z-100 t4s-newsletter__form', id:form_id, data-form-mail-agree:'' -%}
      
         

            

              
            

            
              
            

            
              
            

            
              
            

         

         {{-conditions_mail-}}
      

       
          {%- if form.posted_successfully? -%}
          
{{ 'sections.newsletter_form.confirmation' | t }}

          {%- elsif form.errors -%}
          {{ form.errors | default_errors }}
{%- endif -%}
       

   {%- endform -%}
{%- endcase -%}