Custom Contact 7 form

Contact Email Dynamic add data to the email, you can get data from custom html Contact Form 7 uses hidden input type to store form id. It uses hidden field name _wpcf7. You can get the form Id like this way. So you final code should be