• senseisayspod

    (@senseisayspod)


    Hello,

    I’ve configured a complex 2-column Contact Form on my site, but having a hard time configuring the email related to the form. Emails sent through the form do not show info from said form.

    Form:

    [text* user-name class:form-control class:input-md placeholder "Nom *"]
    
    [text* user-name class:form-control class:input-md placeholder "Téléphone (et # poste) *"]
    
    [email* user-email class:form-control class:input-md placeholder "Courriel *"]
    
    [text* user-subject class:form-control class:input-md placeholder "Type (école, camp) et nom d'organisation *"]
    
    [text* user-subject class:form-control class:input-md placeholder "Nombre de groupes *"]
    
    [text* user-subject class:form-control class:input-md placeholder "Nb. de personnes par groupe *"]
    
    [text* user-subject class:form-control class:input-md placeholder "Besoins particuliers ? (O/N) *"]
    
    [text* user-subject class:form-control class:input-md placeholder "Option jeu(x) gonflable(s) ? (O/N) *"]
    
    [text* user-subject class:form-control class:input-md placeholder "Date désirée #1 (jj/mm/aa) *"]
    
    [text* user-subject class:form-control class:input-md placeholder "Heures souhaitées (HH:MM) à (HH:MM) *"]
    
    [text* user-subject class:form-control class:input-md placeholder "Adresse de l'activité *"]
    
    [text* user-subject class:form-control class:input-md placeholder "Accès direct au terrain ? (O/N) *"]
    
    [text* user-subject class:form-control class:input-md placeholder "Accès direct à un gymnase ? (O/N) *"]
    
    [textarea* user-msg 40x6 class:form-control class:input-md placeholder "Informations supplémentaires *"]
    
    [submit class:submit-button "ENVOYER"]

    How would I properly configure the email setup ?

    Thank you for your help !

    Pascal

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • nikolausii

    (@nikolausii)

    You have given several objects the same name.

    [text* user-name class:form-control class:input-md placeholder "Téléphone (et # poste) *"]
    [email* user-email class:form-control class:input-md placeholder "Courriel *"]
    [text* user-subject class:form-control class:input-md placeholder "Type (école, camp) et nom d'organisation *"]

    user-name, user-email, user-subject are the names of your fields. You can use these to retrieve the content in the mail configuration. Since you have assigned the names multiple times, this does not work. Add numbers to the end of each field.

    [text* user-name1 class:form-control class:input-md placeholder "Nom *"]
    [text* user-name2 class:form-control class:input-md placeholder "Téléphone (et # poste) *"] 
    
    [text* user-subject1 class:form-control class:input-md placeholder "Type (école, camp) et nom d'organisation *"]
    [text* user-subject2 class:form-control class:input-md placeholder "Nombre de groupes *"]

    and so on.

    You can then access all fields in the mail by addressing them in this way:

    Contact request from [user-name1]

    Hope this helps you

    ernestovitamin

    (@ernestovitamin)

    Hello,

    I have set up a form for my contact page but I can’t get the information correctly. I receive an email every time a customer fills out a form but I don’t receive the content. You can see in the attached picture.

    This is the form:

    Tu nombre [text* text-833 placeholder “Nombre completo :”]

    Tu email [email* email-293 placeholder “Email :”]

    Asunto [text* text-8331 placeholder “Asunto:”]

    Tu mensaje (opcional) [textarea* textarea-676 placeholder “Mensaje…”]

    [submit “Enviar”]

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Complex Contact Form 7 not sending info in email’ is closed to new replies.