bpike 0 Report post Posted May 17, 2011 I am trying to create a sample form where the display is hidden until a link is clicked. The link is: "Click here for a Free Sample" http://shop.pure-jojoba.com/ I have set a <div id="moreContentA" style="display: none;"> which drops down 'onclick'. I can't get it to drop down. I have used this method on other sites. Not sure if something in the theme is preventing the action from happening. Any idea how to set this up? Or is there a better method to achieve this? thanks, Brian Share this post Link to post Share on other sites
catrina 103 Report post Posted May 17, 2011 Have you tried deactivating any other plugins? There might be a conflict going on between a plugin (or more) and the code you're trying to use. Please read the docs before posting. Please do not private message me unless I ask you to. Designer | Catrina Dulay Founder | Catrina and Mouse Share this post Link to post Share on other sites
bpike 0 Report post Posted May 17, 2011 Hi Catrina, I have used this code on other sites using the same group of plug-ins and have not run into this snag. It is a basic script. I'll give your suggestion a try. thanks Share this post Link to post Share on other sites
cmunns 16 Report post Posted May 17, 2011 You have javascript errors on your page preventing the effect. What plugins are you using for this sidebar thing? Share this post Link to post Share on other sites
bpike 0 Report post Posted May 17, 2011 I figured it out. I added a javascript in the header to define the variable and it now works. thanks Catrina and Adam for your insight. Share this post Link to post Share on other sites
jasonpsargent 0 Report post Posted June 6, 2011 I'm interested in creating a similar form on the sidebar of my page. Did you use a form template, and if so, how did you get it to appear in the sidebar? I've played around with the FormBuilder plugin, but can't get that widget to display in the side. Any advice you can provide would be helpful. Thanks! Share this post Link to post Share on other sites
bpike 0 Report post Posted June 6, 2011 Hi Jason, This particular form populates into a database and the code is created from my email marketing provider. CForms is a great plugin for Wordpress to create forms. You could use the plugin Widget Logic to put the form into the sidebar. I have a dev site where you can see it in action. shop.pure-jojoba.com. Click on the "Try Pure Jojoba Free" link in the sidebar to see how it works. Hope that helps. Share this post Link to post Share on other sites