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

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,021 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