Jump to content

Hide/Show sections with buttons

Recommended Posts

I would like the "Book Now" button at the bottom of the page to show/hide the form in the section right under it. I would like the form to be hidden until someone clicks the button to reveal it, and then they can fill it out. I would also like the "Request FREE Quote" button to show/hide another section with a survey that I haven't added to the page yet. I would like, if one of the buttons sections are open and you click the other button, for it to close the current section before opening the new one. So if I click "Request FREE Quote" and that sections shows, I would like for that section to hide whenever I click "Book Now" and the section gets replaced with the form section. I've figured out how to hide the section with code, I just need to connect it to the buttons now.

 

I don't want it to be a lightbox for the form, I don't want it to be a popup. I want it to be a hide and reveal section.

Site Buttons.PNG

Link to comment
  • Replies 3
  • Views 225
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Sounds like you want this type of solution:

 

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

 Did I help? Buy me a coffee?

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.