The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "Implementing an SVG Icon System" Nov 30 - 6:00 PM Eastern

[Solved] Forms – submit button

  • # March 12, 2010 at 7:56 am


    The form I have created (see below) currently opens up Thunderbird when you press the SUBMIT button.

    I would like it to by-pass a mail-client (Thunderbird etc) and send the message by itself, independently of the need to open up a mail-client.

    Can this be done easily? I look forward to your replies.


    # March 12, 2010 at 9:29 am

    This reply has been reported for inappropriate content.

    You are using a mailto: action, so your form will automatically open your default browser and mail program. To change this you will need to send your form to a php script which will process the data and send the email. Google for php email form.

    # March 12, 2010 at 9:32 am

    yea you need to be using something like the PHP mail function:

    basically you need to use your form to collect the data and then send it into function. :)

    # March 12, 2010 at 10:06 am

    Thanks for your replies!

    I’ve just found this:
    So with a bit of re-styling to the css I should have what I want (I think).

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed