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

WordPress

Cameron Knight
Cameron Knight
3,410 Points

Best path or lessons to take to learn how to make a custom dynamic contact form in WordPress? (like a plugin)

Hi all,

So at work, I have been asked to begin learning code so that I can create a custom contact form that we will use as a sign-up form for customers, but I am not sure where to start, in terms of what pathways or lessons will help me get there.

I believe the form would just be a complex contact form, but I am not sure how to implement one into WordPress, as well as have dynamic content, where you can add or remove a student (so a row), how to make another dropdown appear is a specific selection is made, and then have specific parts of the form in different accordions.

Any help or direction would be greatly appreciated :)

1 Answer

Hello,

The best way to build a contact form is to use one plugin like Contact Form 7, Ninja Forms, Gravity Forms, Formidable Forms.

If you create your own plugin try to learn with this course: https://teamtreehouse.com/library/how-to-build-a-wordpress-plugin

Alena Holligan
Alena Holligan
Treehouse Teacher

you're probably better off using one of the form plugins that are already out there as per this suggestion (Contact Form 7, Ninja Forms, Gravity Forms). Many offer as much customization as you could want.