Jump to content

Embedding a form button to a custom code block

Recommended Posts

I am trying to make use of the form block button to have a button that opens a popup form when clicked. Is there a way to paste the sqs form button code into my own custom code such that it can be contained within the cards I made myself?

In the image, the 3 cards currently have regular buttons that I hardcoded in myself, and I want to convert them to be squarespace form buttons like the one currently below them. 

I'm pretty good with injecting my own HTML/CSS/JS when needed. Any help would be appreciated!

Screen Shot 2022-06-23 at 10.55.png

Edited by lianaevans
Changing the title
Link to comment
  • lianaevans changed the title to Embedding a form button to a custom code block

Hi,

You can use Lightbox Plugin to achieve this.

Let me know if you have any other problems with this.

(The answer contains an affiliate link, which means I will receive a small commission if you click and buy the plugin according to the link above.)

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

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.