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 trialKurt Archer
5,139 PointsPromo code to reveal content
Hey all,
A client wants to use a promo code that they are giving out i paper to customers and they want to be able to let them plug that in somewhere on their site to reveal a list of discounted services they can take advantage of.
I would like to do this as easy as possible. Any suggestions on a plugin or script I can use that will accept a field input (doesn't have to be password field) and then either reveal content on the page itself or initiate a download of a PDF with the information or open a new page with the content on it.
I know this can be easily achieved by getting a user to signup, but I don't want them to sign up, just to use the promo code. I'm not over concerned with it being bullet proof secure wise.
Any advice or direction would be great!