Adding phone number box to the Contact form

Is it possible to add a phone number field in the contact form? - Thank you for your response in advance.

Comments

  • Hello
    Thanks for contacting to us . 
    To add extra field phone number  in contact form you need to use contact form 7 plugin  . 
    PLs download and  install contact form 7 plugin from this link . 
    You can customize the form as per your needs, below found the sample markup of the contact form designed through cf7

    <div class="col-md-6"><p>Your Name (required)<br />
      [text YourName class:contact-form-control] </p></div>
    <div class="col-md-6">
    <p>Your Email (required)<br />
        [email* your-email class:contact-form-control] </p>

    <p>Subject<br />
        [text your-subject class:contact-form-control] </p>

    <p>Your Message<br />
        [textarea your-message class:contact-form-control-textarea] </p>

    [submit class:blogdetail-btn "Send Message"]</div>

    Place the generated shortcode  in the contact page editor hide the default form by .contact-form-section{display:none;}

    Go through the plugin docs for more theme compatibility

    Thanks
    Akhilesh
  • Thank you. Will let you know how it goes soon.
Sign In or Register to comment.