Submit button

Discussion in 'Web Design and Development' started by Samarium, Mar 12, 2008.

  1. Samarium macrumors 6502a

    Samarium

    Joined:
    Jan 6, 2008
    Location:
    @ home.
    #1
    Hello everyone I was wondering if there is a way of making a submit button and send what it is typed on a textbox, without opening the preferred email progra . I need this for a Questions sections on a page that i manage.
     
  2. angelwatt Moderator emeritus

    angelwatt

    Joined:
    Aug 16, 2005
    Location:
    USA
    #2
    Well a person's email program should only open if you're using a mailto: type link. If you don't want it to do that, just provide something else (for the action attribute of the form).
     
  3. notnek macrumors 6502

    notnek

    Joined:
    Oct 25, 2007
    #3
    I've attached an index and success page. The index has a simple form that you can customize. The success page just uses simple PHP mail() to send the content from the form. If you need help customizing it PM me.
     

    Attached Files:

  4. MrSmith macrumors 68040

    MrSmith

    Joined:
    Nov 27, 2003
    #4
    You can use the php mail() function easily enough. Google it and you'll find plenty of help.
     

Share This Page