• GoDaddy Community
  • GoCentral | Website Builder
  • GoCentral | Website Builder

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 
    New

    contact form using html

    hello,

    on website builder i have created a contact form using html. (css for styling).

    i'm stuck on the send mail code , not sure what to do.

    here is part of the code, i think i'm missing more stuff.

    <input type="button" class="button" value="SUBMIT"
    action="mailto:test@gmail.com"
    </form>

    4 REPLIES 4
    Community Manager
    Community Manager

    Re: contact form using html

    Hi @najiam. Welcome to GoDaddy Community! 

    Typically you would specify the URL of a mail script in the action of your form. I did find this Stack Overflow post regarding sending via an email client, though. Hope it helps. 

     

    JesseW - GoDaddy | Community Manager | 24/7 support available at x.co/247support | Remember to choose a solution and give kudos.
    New

    Re: contact form using html

    I only need a php script to take my HTML form and send it through godaddy mail, without using the client mail side.

     

    Rockstar I Rockstar I
    Rockstar I

    Re: contact form using html

    Hi @najiam,

     

    Though this costs a few bucks the coffeecup software has been one of my staples for years.  It makes much of the php scripting and setup almost bulletproof.  For me, it has worked well on GoDaddy servers.

     

    https://www.coffeecup.com/web-form-builder/

     

    Hope this helps,

    James

    Not Just Pretty Sites, Pretty Doggone Smart Sites
    Helper II

    Re: contact form using html

    Depending on how you code the php script will determine how form is sent. Judging by your snippet, you're pretty far off, considering a mailto will open clientside, where php will be a serverside action.