• Resolved juliperruchoud21

    (@juliperruchoud21)


    Hola!, funciona perfecto el formulario, pero a la hora de mandar el mail, figuran todos los campos, me interesa que solo figure el campo seleccionado..
    estoy usando columnas y formulario en pasos, será ese el problema?

    [uacf7-row][uacf7-col col:12]
    <label> Indicar cantidad de personas que se alojan con usted:
    [select* acompaantes “Viajo Solo” “1 persona” “2 personas” “3 personas” “4 personas”] </label>
    [/uacf7-col][/uacf7-row]

    [group group-346]
    [uacf7-row][uacf7-col col:4]
    <label>
    [text nombre1 placeholder "Nombre y Apellido"]
    </label>
    [/uacf7-col][uacf7-col col:4]
    <label>
    [text Dni1 placeholder "DNI"]
    </label>
    [/uacf7-col][uacf7-col col:4]
    <label>
    [text fechadenacimiento1 placeholder "Fecha de Nacimiento"]</label>
    [/uacf7-col][/uacf7-row]
    [/group]

    [group group-548]
    [uacf7-row][uacf7-col col:4]
    <label>
    [text nombre2 placeholder "Nombre y Apellido"]
    </label>
    [/uacf7-col][uacf7-col col:4]
    <label>
    [text Dni2 placeholder "DNI"]
    </label>
    [/uacf7-col][uacf7-col col:4]
    <label>
    [text fechadenacimiento2 placeholder "Fecha de Nacimiento"]</label>
    [/uacf7-col][/uacf7-row]

    [uacf7-row][uacf7-col col:4]
    <label>
    [text nombre3 placeholder "Nombre y Apellido"]
    </label>
    [/uacf7-col][uacf7-col col:4]
    <label>
    [text Dni3 placeholder "DNI"]
    </label>
    [/uacf7-col][uacf7-col col:4]
    <label>
    [text fechadenacimiento3 placeholder "Fecha de Nacimiento"]</label>
    [/uacf7-col][/uacf7-row]
    [/group]

    MAIL:

    Cantidad de acompa?antes: [acompaantes]
    
    [group-346]
    1 Persona:
    [nombre1][Dni1][fechadenacimiento1]
    [/group-346]
    [group-548]
    2 Personas: 
    [nombre2][Dni2][fechadenacimiento2]
    [nombre3][Dni3][fechadenacimiento3]
    [/group-548]
    [group-920]
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Jules Colle

    (@jules-colle)

    Hi, Could you explain your problem in English?
    Which plugin is responsible for the uacf7 tag?

    Thread Starter juliperruchoud21

    (@juliperruchoud21)

    Hello!, First of all I should like to thank the answer.
    I’ll to try to explain in english, my problem is that, the form is correct in the web, but when i complete the form, the email is wrong, appear all groups, i need only that the people complete…

    the mail arrives as follows
    >>>>>>>>>>>>>>>>>>>>>>
    HUéSPED PRINCIPAL
    Nombre: [nombreyapellido]
    DNI: 898989
    Fecha de nacimiento: 89/89/89
    Pais:Argentina
    Provincia:Buenos Aires
    Ciudad:gchu
    Domicilio:hghg
    Ocupación:[ocupación]

    Cantidad de acompa?antes: 1 persona
    [group-346]
    1 Persona:
    Nombre:juju63636363/96/96
    [/group]
    [group-548]
    2 Personas:
    Nombre:
    Nombre
    [/group]
    [group-920]
    3 Personas:
    Nombre:
    Nombre:
    Nombre:
    [/group-920][group-479]
    4 Personas:
    Nombre:
    Nombre:
    Nombre:
    Nombre:
    [/group-479]

    Escala anterior: BSAS
    Próximo destino: Chalten`

    >>>>>>>>>>>>>>>>>>>>>>

    I use the followings plugins for contact form 7:

    – Contact Form 7 Multi-Step Forms (For Webhead LLC)

    – Ultimate Addons for Contact Form 7 (For Themefic)

    – Contact Form 7: Accessible Defaults (For Joseph Dolson)

    Thread Starter juliperruchoud21

    (@juliperruchoud21)

    HELLO, ANY NEWS??
    THANKS

    Plugin Author Jules Colle

    (@jules-colle)

    Sorry for not answering sooner.
    In the email you need to close the groups more explicitly. So instead of

    [group-346]
    ...
    [/group]

    write this:

    [group-346]
    ...
    [/group-346]

    You can also create, test and share your form via the form tester https://conditional-fields-cf7.bdwm.be/form-tester/?test-form=blank+form

    Thread Starter juliperruchoud21

    (@juliperruchoud21)

    It worked! Thanks.
    There is only one doubt, to be able to erase the blank spaces of the mail, I put the labels one next to the other, however I have space left at the beginning, I copy the form here:
    ——————————————————————————
    CANTIDAD DE ACOMPA?ANTES:[canthuespedes]
    [grupo1persona]
    [canthuespedes]
    Nombre: [nombre1]
    Apellido: [apellido1]
    [/grupo1persona][grupo2persona]
    [canthuespedes]
    [nombre2] [apellido2]
    [nombre3] [apellido3]
    [/grupo2persona][grupo3persona]
    3 Personas
    [nombre4][apellido4]
    [nombre5][apellido5]
    [nombre6][apellido6]
    [/grupo3persona]
    ——————————————————————————–
    the mail (gmail):

    CANTIDAD DE ACOMPA?ANTES:2 Personas

    2 Personas
    manuel manuel
    roberto roberto

    ———————————————————————————

    Thank you very much

    Plugin Author Jules Colle

    (@jules-colle)

    Hi, opening and closing groups on the same line is indeed the correct way to get rid of unwanted white spaces.

    In order to get rid of the first white space you should write the code like this (I merged the first two lines to one line):

    CANTIDAD DE ACOMPA?ANTES:[canthuespedes][grupo1persona]
    [canthuespedes]
    Nombre: [nombre1]
    Apellido: [apellido1]
    [/grupo1persona][grupo2persona]
    [canthuespedes]
    [nombre2] [apellido2]
    [nombre3] [apellido3]
    [/grupo2persona][grupo3persona]
    3 Personas
    [nombre4][apellido4]
    [nombre5][apellido5]
    [nombre6][apellido6]
    [/grupo3persona]
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Problema con el mail’ is closed to new replies.