Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

HTML HTML Forms Form Basics Overview of Forms

How can I make a live form?

I am going to an event on Tuesday morning where I need to collect Name, Phone Number, and email address.

I will not have wifi, but I can bring a laptop or an iPad.

I though I might use my newly aquired coding skills to create a form that people could complete electronically instead of writing this information on paper.

How do I do this?

I do not have a server.

Thank you!

3 Answers

Greg Kaleka
Greg Kaleka
39,019 Points

Unfortunately, I think you'll need some back-end programming in order to actually process (e.g. save) the information someone puts into the form. You could check out the PHP development track, which teaches you exactly this, but you probably won't be able to learn by Tuesday!

Dan Johnson
Dan Johnson
40,532 Points

As Greg said you'll need some amount of back-end programming if you want to use HTML forms. You could set this up using just HTML and JavaScript however if you use something like the Express framework for Node.js. You could then post to it locally to persist the data. A bit over the top but it's an option.

Express: http://expressjs.com/

I'm trying to see if a ruby server would work. Taking the codecademy course on Rails app. I didn't know what to take on Treehouse to reach my shortterm goal.

I'll look into express Dan Johnson