Answer the question
In order to leave comments, you need to log in
Is it possible to add your own text to CF7?
Good afternoon!
I can’t figure out how to add a form header to the Contact form 7 plugin form submission letter, which I have loaded from the admin panel through the add. fields (ACF).
Заявка на покупку сухой смеси
Сообщение:
Имя: [retail-name]
Телефон: [retail-phone]
Кол-во мешков: [form-counter]
Почта: [retail-mail]
Город: [retail-city]
Комментарий: [retail-comment]
--
Это сообщение отправлено с сайта [_site_title] ([_site_url])
onclick="$('.modal__header').html('<?php echo get_field('bag-title'); ?>')"
Answer the question
In order to leave comments, you need to log in
1. If you need to know from which page you filled out the form, then you can insert this [_url] into the body of the letter (see form settings)
2. If you need to insert dynamically changing data into the form, then there is an addition to Contact Form 7 - Contact Form 7-Dynamic Text Extension
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question