Prasad Bhagat

Prasad Bhagat

  • NA
  • 516
  • 236.6k

contact us form in html

Apr 18 2016 5:53 AM
Dear All ,
 
contact us form i desinged with html .but how can i send the user details as a mail .please am posting my html code .please help me ..
 
just am using simple html ..
not asp.net ..
 
<html>
<form id="main-contact-form" class="contact-form" name="contact-form" method="post" action="">
 
<div class="col-sm-5 col-sm-offset-1">
<div class="form-group">
<label>Name *</label>
<input type="text" name="name" class="form-control" required="required">
</div>
<div class="form-group">
<label>Designation *</label>
<input type="text" name="text" class="form-control" required="required">
</div>
<div class="form-group">
<label>Email *</label>
<input type="email" name="email" class="form-control" required="required">
</div>
<div class="form-group">
<label>Phone</label>
<input type="number" class="form-control">
</div>
<div class="form-group">
<label>Organisation</label>
<input type="text" class="form-control">
</div>
</div>
<div class="col-sm-5">
<div class="form-group">
<label>Comment Type *</label>
<select class="form-control">
<option value="RequestforInformation">Request for Information</option>
<option value="Feedback">Feedback</option>
<option value="VendorEnquiry">Vendor Enquiry</option>
<option value="PartnerEnquiry">Partner Enquiry</option>
<option value="GeneralComment">General Comment</option>
</select>
</div>
<div class="form-group">
<label>Subject *</label>
<input type="text" name="subject" class="form-control" required="required">
</div>
<div class="form-group">
<label>Message *</label>
<textarea name="message" id="message" required="required" class="form-control" rows="8"></textarea>
</div>
<div class="form-group">
<button type="submit" name="submit" class="btn btn-primary btn-lg" required="required">Submit Message</button>
</div>
</div>
</form>
</html> 
 

Answers (1)