Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Samarium

macrumors 6502a
Original poster
Jan 6, 2008
533
0
@ home.
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.
 

angelwatt

Moderator emeritus
Aug 16, 2005
7,852
9
USA
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).
 

notnek

macrumors 6502
Oct 25, 2007
327
0
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.
 

Attachments

  • form.zip
    2.2 KB · Views: 80

MrSmith

macrumors 68040
Nov 27, 2003
3,046
14
You can use the php mail() function easily enough. Google it and you'll find plenty of help.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.