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 trialBrian van Vlymen
12,637 Pointswhat does it mean label of "Reason for inquiry "? extra credit
Extra Credit Add a new type of field to the contact form, something like a dropdown field with a label of "Reason for Inquiry" and a few options in it.
Do you have any good idea to use PHP? Do you have any demo for it?
2 Answers
Nicholas Mejia
23,800 PointsThe contact form itself is built up with tables, correct? You just need add a new row < tr > to your table that contains a dropdown. For reference, a drop down consists of a < select > element containing multiple < option > elements. Make sure to create a < label > element for it along with the necessary attributes so you can pass the selected value via a $_GET or $_POST variable.
But you already knew that, didn't you ;)
Brian van Vlymen
12,637 Pointsthanks for your replied! My bad I was thinking off the point using the Getbootstrap plugin Javascript with dropdowns with contact form built up with tables its almost impossible to do that way that's why. It got me confused and I suddenly stuck that parts lol. I am gonna to back and work on it soon.