1. Home
  2. Docs
  3. Gauch – Theme Documentation
  4. Contact form

Contact form

Here is the Contact Form 7 template form for the Contact page.

<div class="container">
    <div class="contact-form">
        <div class="section-title">
            <h2>Get In Touch!</h2>
            <p>Contact us with your details & ready to start with us</p>
        </div>
        <form id="contactForm">
            <div class="row">
                <div class="col-lg-12 col-md-12 col-sm-12">
                    <div class="form-group">
                        <label>How did you find us?</label>
                        [select* find-us class:form-select "Advertisement" "Google" "Twitter" "Facebook" "Instagram" "Other"]
                    </div>
                </div>
                <div class="col-lg-6 col-md-6 col-sm-6">
                    <div class="form-group">
                        <label>Name *</label>                        
                        [text* your-name class:form-control placeholder "Eg: Sarah Taylor"]
                    </div>
                </div>
                <div class="col-lg-6 col-md-6 col-sm-6">
                    <div class="form-group">
                        <label>Email *</label>
                        [email* your-email class:form-control placeholder "[email protected]"]
                    </div>
                </div>
                <div class="col-lg-6 col-md-6 col-sm-6">
                    <div class="form-group">
                        <label>Phone *</label>
                        [number* your-number class:form-control placeholder "Enter your phone number"]
                    </div>
                </div>
                <div class="col-lg-6 col-md-6 col-sm-6">
                    <div class="form-group">
                        <label>Subject *</label>
                        [text* your-subject class:form-control placeholder "Enter your subject"]
                    </div>
                </div>
                <div class="col-lg-12 col-md-12 col-sm-12">
                    <div class="form-group">
                        <label>Message</label>
                        [textarea your-message class:form-control rows:5 placeholder "Enter message..."]
                    </div>
                </div>
                <div class="col-lg-12 col-md-12">
                    [acceptance  gdpr class:gdpr-term ] Accept <a href="http://localhost/wordpress/gauch/terms-of-service/">terms</a> and <a href="http://localhost/wordpress/gauch/privacy-policy/">privacy policy</a>.[/acceptance]
                </div>
                <div class="col-lg-12 col-md-12 col-sm-12">
                    <button type="submit" class="default-btn"><span class="ri-arrow-right-s-line"></span>Send Message</button>
                </div>
            </div>
        </form>
    </div>
</div>
Was this article helpful to you? Yes No

How can we help?