Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need to harvest info from a form submitted to a database for email

Status
Not open for further replies.

SFalk

Technical User
Apr 30, 2006
8
US
Hello there,

I think this can be done in javascript but I haven't a clue how...
I have a form that users complete that, when submitted, puts info in a database. I need that info to also go to some folks in an email. The database doesn't have that functionality built into it. Any ideas on how to make that happen?
Thanks!!!
Sarah
 
Whatever server-side language you use to process the data should have the capabilities to send email. If not, contact your hosting service to see what they provide for that.

Lee
 
I normally use asp to send email. But I've got this form set up in an html file with
Code:
<input="radio" etc>
to put the info in the database. I need to both email the info and put it in the database in a single step.
 
Like I said, the page that processes the form data and puts it in the database is the best place to send the email. You could use the client-side computer's email client to open a message with the information filled in (written into the mailto: by ASP), but you'd have to rely on the end user to actually send the message. There's no way with client-side Javascript to automatically email anything out, though.

Lee
 
Your form does not send to the database directly, it has to submit to a server-side script in order to access the database and as trollacious said above, that script is the place to handle sending out the email.

All you have to do is write the code for submitting the email and add it into the page you submit the form to.


It's hard to think outside the box when I'm trapped in a cubicle.
 
Hi guys,

Thanks for your help. So this is how I call the form to submit the form to the database:
Code:
<FORM ACTION="FMPro" METHOD="post">[\code]   And FileMaker Pro won't send the email upon record creation.  Can I direct it also to an asp page??  
Thanks!
Sarah
 
This is an interesting thread. It's now a question about using FileMaker Pro and ASP, yet posted in a Javascript forum. I'd suggest asking about this in the FMPro forum.

forum295

Lee
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top