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!
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
Dan HoyCourses Plus Student 1,149 Points
I'm currently using the popular phpMailer script: to process my ajax form. But, I am a front end designer/developer so don't know how to customize it for my needs.
The form I'm using was created and is available for a free download here. While the form is really good it has only a couple text inputs and a textarea. My questions are:
1) How do I add other types of fields to the form like - select, checkboxes, radio buttons and maybe even Captcha?
2) How do I make sure that the form is secure?
3) If I use SMTP through Gmail, does that provide security for the form since Google handles the processing of the information? Originally I thought so, but now I'm thinking that if someone injected something nasty like a virus into the form it would run - do it's damage and then attempt to send to Gmail via SMTP... Any advice?
Randy HoytTreehouse Guest Teacher
I would recommend checking out my video tutorials on this topic:
Take a look at those, and then let me know what questions you still have!