AlexeiiKozachuk Posted August 30, 2015 Share Posted August 30, 2015 Hi for all! :crazy:I have such form on my website for my visitors , what script do I need to complete it work. Sorry if I head post topic wrong way and thanks for help ,)<form id="contact-form"> <div class="row"> <div class="col-md-6"> <div class="form-group"> <label for="name"> Name</label> <input type="text" class="form-control" id="name" placeholder="Enter name" required="required" /> </div> <div class="form-group"> <label for="email"> Email Address</label> <div class="input-group"> <span class="input-group-addon"><span class="glyphicon glyphicon-envelope"></span> </span> <input type="email" class="form-control" id="email" placeholder="Enter email" required="required" /></div> </div> <div class="form-group"> <label for="subject"> Subject</label> <select id="subject" name="subject" class="form-control" required="required"> <option value="na" selected="">Choose One:</option> <option value="service">General Customer Service</option> <option value="suggestions">Suggestions</option> <option value="product">Product Support</option> </select> </div> </div> <div class="col-md-6"> <div class="form-group"> <label for="name"> Message</label> <textarea name="message" id="message" class="form-control" rows="9" cols="25" required="required" placeholder="Message"></textarea> </div> </div> <div class="col-md-12"> <button type="submit" class="btn btn-skin pull-right" id="btnContactUs"> Send Message</button> </div> </div> </form> Link to comment Share on other sites More sharing options...
Ingolme Posted August 30, 2015 Share Posted August 30, 2015 You would use the PHP mail() function There's a section in the tutorial on how to handle form data: http://www.w3schools.com/php/php_forms.asp Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now