• Hi, i try to insert the fields that Wp-members users have in a contact form (plugin cform7).

    When the mail is send the short code of the WP members doesnt change, i mean, shows only in the shortcode mode and dont show the content of that code. (the info of the user).

    The fields are put in the right way because in the wordpress single page, shows correct the information, but when i sent a mail in a a contact form, the short code doesnt show information, only de [shortcode name].

    See, i add this codes:

    Nombre y apellido: [wpmem_field nombre] [wpmem_field Apellido]

    DNI: [wpmem_field DNI]

    Correo electrónico: [wpmem_field user_email]

    Código Postal: [wpmem_field codigopostal]

    Check, thats its right because i use tat in the registration form

    https://www.copbad8.org/copba-viii/registro/

    but in a single eamil the fields doesnt “convert” to the right info.

    Thanks

Viewing 1 replies (of 1 total)
  • Plugin Author Chad Butler

    (@cbutlerjr)

    That’s a question for Contact Form 7 – specifically, how to process/parse a shortcode in the form’s email.

    Contact Form 7 does have a filter for applying custom (non-CF7) shortcodes to the email – wpcf7_special_mail_tags – and there are examples available via search on how to use that. However, I’m not sure that the filter allows for attributes in the shortcode (in this case, the field name), so it may not be a compatible filter.

Viewing 1 replies (of 1 total)

The topic ‘Insert fields in contact Form’ is closed to new replies.