Forums

Pass PHP variables to prefill Contact Form 7 (1 post)

  1. thelastknight
    Member
    Posted 3 years ago #

    Hi,

    I have a form in my sidebar where the user enters their email address and hits submit, which then goes to a page with the contact form on.

    I've tried adding <?php echo $email; ?> for the 'Default Value' for one of the input fields in the plugins settings menu, so it prefills it with the email address filled out on the previous page but in the settings for Contact Form 7, it turns the < and > into HTML.

    Any ideas?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.