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

General Discussion

What form input to use.

I'm making a website for a radio show and I want to have a field where users can enter a song request which will then be sent to the radio show's email address. At this point I'm not very familiar with input fields. Does anyone have an idea what type of form input I could use?

2 Answers

Kevin Korte
Kevin Korte
28,149 Points

I would imagine just a simple text input would suffice. Maybe a text area. But with so many possibilities something like an options list probably wouldn't work very well.

Thanks Kevin, could you recommend a Treehouse video that would show me how to send the text input from the input field directly to an email address?

Kevin Korte
Kevin Korte
28,149 Points

Many ways to do this, but the lowest entry bar might be the PHP lessons, I'll see if I can find a specific video but all of the php videos have been updated since I last took any. But you should find your answer there.

Thanks Kevin! I'll check those out.