Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #5673

    How do we add additional fields to the contact form??

    http://www.mybestplanllc.com/wordpress/contact/

    #51332

    Hey,

    excuse me for the late response, you’d open your template_contact.php and create a new input value.

    First you’d need to create something like$website = $_POST['website'];

    but instead of website some other input name.

    then add one of these Website: $website <br /><br />

    you’d add your new value .. so if you picked $apples in the previous step you’d put

    Apples: $apples <br /><br />

    to make it show up on your contact page you’d need to echo the actual input with the same name you picked before

    <p><input name="website" class="text_input" type="text" id="website" size="20" value="<?php echo $website?>"/><label for="website">Website</label></p>

    but again .. website would be apples.

    Hope it helps

    #51333

    Thanks!

    #51334

    Glad that Chris could help you :)

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Contact Us Fields’ is closed to new replies.