How do we add additional fields to the contact form??
Contact Us Fields
4 posts from 3 voices-
Posted 1 year ago #
-
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 theseWebsite: $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
Posted 1 year ago # -
Thanks!
Posted 1 year ago # -
Glad that Chris could help you :)
Posted 1 year ago #
Reply
You must log in to post.














