Enquiry Form

In HTML there are following

<form class=”comment-form” action=”sendmail.php” method=”post”>
<input name=”name” id=”name” type=”text” placeholder=”Full Name (required)”>
<input name=”mail” id=”mail” type=”text” placeholder=”Email I D (required)”>
<input name=”mobile” id=”mobile” type=”text” placeholder=”Mobile No”>

<textarea name=”comment” id=”comment” placeholder=”Your Message (required)”></textarea>
<input type=”submit” id=”submit_contact” value=”Submit”>
</form>

But it is not working

After correction :-

<form class=”form-horizontal” action=”sendmail.php” method=”post”>
<div class=”form-group”>
<div class=”col-sm-12″>
<input type=”name” class=”form-control” id=”name” placeholder=”Enter Full Name” name=”name”>
</div>
</div>
<div class=”form-group”>
<div class=”col-sm-12″>
<input type=”email” class=”form-control” id=”email” placeholder=”Enter email” name=”mail”>
</div>
</div>
<div class=”form-group”>
<div class=”col-sm-12″>
<input type=”mobile” class=”form-control” id=”mobile” placeholder=”Mobile Number” name=”mobile”>
</div>
</div>
<div class=”form-group”>
<div class=”col-sm-12″>
<textarea class=”form-control” rows=”2″ id=”comment” placeholder=”Your Message” name=”comment”></textarea>
</div>
</div>
<div class=”form-group”>
<div class=”col-sm-12″>
<button type=”submit” name=”submit” class=”btn btn-primary btn-lg”>Submit</button>
</div>
</div>
</form>

No ratings yet.

Please rate this

Leave a Reply

Your email address will not be published. Required fields are marked *