Welcome to Our Community

Wanting to join the rest of our members? Feel free to sign up today.

Sign Up

Making an html form usable

Discussion in 'Hosting Softwares' started by Allen Fan, May 23, 2016.

Share This Page

  1. Allen Fan New Member

    Joined:
    Jun 9, 2015
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    6
    Hey guys, I have an html form that is on my website and I cannot figure out how to get it to send an email with the form results after the user clicks on "submit". I tried creating a php script to send the email but I could not get it to work. Do you have any suggestions on how to get this going? Here is my code:

    Code:

    <div class="col-lg-6 col-sm-5 wow fadeInUp delay-05s">

    <div class="form">

    <input class="input-text" type="text" name="" value="Your Name *" onfocus="if(this.value==this.defaultValue)this.value='';" onblur="if(this.value=='')this.value=this.defaultValue;">

    <input class="input-text" type="text" name="" value="Your E-mail *" onfocus="if(this.value==this.defaultValue)this.value='';" onblur="if(this.value=='')this.value=this.defaultValue;">

    <textarea class="input-text text-area" cols="0" rows="0" onfocus="if(this.value==this.defaultValue)this.value='';" onblur="if(this.value=='')this.value=this.defaultValue;">Please include the details of your request and preferred appointment time for us to contact you.</textarea>

    <input class="input-btn" type="submit" value="submit">
     
    #1