Hidden Fields not showing in email results
-
I have inherited a new client’s website and in the CF7 form there are a couple of configuration errors, which I’m not too concerned about. It is the 2 hidden fields on this form that i need help with, and it seems that when someone is responding to one of the units for sale the email at the receiving end is not showing a couple of hidden fields. It should show the URL of the item for sale and also the Stock Number, but it doesn’t. This is what the email result shows:
1. Subject: Enquiry about post_title <post_url>
2. Stock Number: custom_field-mfn-post-astocknumberWhat is wrong? Here is the code on CF7 form
FORM TAB – 1 configuration error detected in this tab panel
<div class=”section_wrapper clearfix”>
<div class=”items_group clearfix” style=”padding: 40px 30px 0; margin: 40px; border: 1px solid #cdcdcd; background:#fcfcfcf;”>
<h3 style=”color:#364349; padding-left:10px;”>Enquire Now</h3>
<div class=”column one-second column_column”>
[text* name placeholder “Name (Required)”]
[email* email placeholder “Email (Required)”]
[text* phone placeholder “Phone (Required)”]
[text* address placeholder “Address”]
[select astate “How did you find us?” “Google” “Other Search Engine” “Magazine Add” “Trading Post” “Motorhome Magazine” “Friend / Family” “Other”]
</div>
<div class=”column one-second column_column”>
[textarea message placeholder “Message”]
[submit ” SEND ENQUIRY”]
</div>
</div>
</div>
[hidden hidden-1 placeholder “post_title”]
[hidden hidden-2 placeholder “custom_field-mfn-post-stocknumber”]
[hidden hidden-3 placeholder “post_url”]MAIL TAB
FROM – [name] <[email]> (configuration error) Sender email address does not belong to the site domain.
BODY – From: [name] <[email]>Subject:
Enquiry about [hidden-1]
<[hidden-3]>Name: [name]
Email: [email]
Phone: [phone]
Address: [address]
State: [astate]Message: [message]
Stock Number: [hidden-2]
__________________________________________
I have searched through the CF7 documentation so please don’t refer me to that, unless i have missed something specific. I’m just not sure what code to use in the FORM TAB & MAIL TAB to fix the issue of hidden field results. Thank you for your assistance.
- The topic ‘Hidden Fields not showing in email results’ is closed to new replies.