Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS Bootstrap Basics Building Forms With Bootstrap Structured Form Layouts with the Grid

Reference for JavaScript to actually submit the data collected from the form? I would like the data from form emailed.

As Guil mentioned at the end of the video, a programming language such as JavaScript would need to be incorporated to actually send the data from the form. Is there a good reference to get more information on that? Also, I would like the data from the form emailed to a dedicated inbox.

The technology to post or get data from or to a server is AJAX, just continue the front end track and you will learn it

2 Answers

There are multiple things out there to send emails using the forms data. One thing is PHP which you can simlle Create a mailinv script, I would share mine if needed?

Yes please, that would be great!

To clarify, front-end JavaScript can't send an email. You will need a backend (server) technology to actually send an email.

JavaScript can send it to it's web server (the POST request mentioned above) but at the end of the day, the "sending of the email" happens from a server. Therefore, you will need a customized solution to achieve this.