Learn how to create a WordPress form that automatically hides the Name and Email fields for logged-in users – while still capturing the data. Improve user experience and streamline forms on membership sites.
Fully optimised Code for Contact Form 7:
<div style=”display: none;”>[text* your-name default:user_display_name]</div>
<div style=”display: none;”>[email* your-email default:user_email]</div>
<div>[textarea* takeaway x4 placeholder “What was your biggest takeaway from this course?”]</div>
<div>[textarea feedback x4 placeholder “Please share your questions and feedback here, and we will respond shortly.”]</div>
[submit “Submit”]