Jump to content

How to create Custom Code that is displayed when clicking on a button

Recommended Posts

Site URL: https://www.rachelconstantino.com/free-breath-journey-thank-you-1%C2%A0

Hello everyone, I am hoping someone can help me with this issue. I've been searching the forum for hours and can't seem to find the answer.

I want to create a CUSTOM form that opens when you click on a button.

Using the "lightbox" will not work, because I cannot use the forms from squarespace. I have created my own custom form via my professional email account, aweber, that I put on my site using custom code.

(I've tried to make a form directly on squarespace, set up lightbox, and connect it using zapier, but it doesn't work)

So now I have the form up on my site, but I want it to be hidden underneath a button, and appear when someone clicks on the button.

Is this even possible?

Here is an example of a friend's website, and what I would love my button/form to look like --> https://www.intuitivegym.com/birthday-spread/?fbclid=IwAR3e-hYG3iMvIOBIZ46XZc5Ikx0c572hrBmXKQNvPozc3Ppg_TekbIR63aI

Here is the page I am working on

--> https://www.rachelconstantino.com/free-breath-journey-thank-you-1 

As it is now, I have a button that opens a lightbox form... but the form doesn't work.

Below is my custom form, but I don't want it to be displayed automatically.

I am hoping to find a way where a button will activate the teal form that says "Join the waiting list for the Breathe & Be Community......"

---------

Any help is greatly appreciated. Thank you

 

 

Link to comment
4 hours ago, RachelBreathwork said:

Site URL: https://www.rachelconstantino.com/free-breath-journey-thank-you-1%C2%A0

Hello everyone, I am hoping someone can help me with this issue. I've been searching the forum for hours and can't seem to find the answer.

I want to create a CUSTOM form that opens when you click on a button.

Using the "lightbox" will not work, because I cannot use the forms from squarespace. I have created my own custom form via my professional email account, aweber, that I put on my site using custom code.

(I've tried to make a form directly on squarespace, set up lightbox, and connect it using zapier, but it doesn't work)

So now I have the form up on my site, but I want it to be hidden underneath a button, and appear when someone clicks on the button.

Is this even possible?

Here is an example of a friend's website, and what I would love my button/form to look like --> https://www.intuitivegym.com/birthday-spread/?fbclid=IwAR3e-hYG3iMvIOBIZ46XZc5Ikx0c572hrBmXKQNvPozc3Ppg_TekbIR63aI

Here is the page I am working on

--> https://www.rachelconstantino.com/free-breath-journey-thank-you-1 

As it is now, I have a button that opens a lightbox form... but the form doesn't work.

Below is my custom form, but I don't want it to be displayed automatically.

I am hoping to find a way where a button will activate the teal form that says "Join the waiting list for the Breathe & Be Community......"

---------

Any help is greatly appreciated. Thank you

 

 

Try to look for lightbox anything plugin to see if it helps

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date format)
💫 Animated Buttons (Referral URL)
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
6 minutes ago, RachelBreathwork said:

Hm.... is there any way to accomplish this with custom code? I do not have the money to pay for Lightbox anything.

You can try this solution

Squarespace Lightbox Tutorial — Squarespace Tutorials & How-To Videos

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date format)
💫 Animated Buttons (Referral URL)
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
  • 2 weeks later...
On 7/9/2021 at 6:51 AM, RachelBreathwork said:

Site URL: https://www.rachelconstantino.com/free-breath-journey-thank-you-1%C2%A0

Hello everyone, I am hoping someone can help me with this issue. I've been searching the forum for hours and can't seem to find the answer.

I want to create a CUSTOM form that opens when you click on a button.

Using the "lightbox" will not work, because I cannot use the forms from squarespace. I have created my own custom form via my professional email account, aweber, that I put on my site using custom code.

(I've tried to make a form directly on squarespace, set up lightbox, and connect it using zapier, but it doesn't work)

So now I have the form up on my site, but I want it to be hidden underneath a button, and appear when someone clicks on the button.

Is this even possible?

Here is an example of a friend's website, and what I would love my button/form to look like --> https://www.intuitivegym.com/birthday-spread/?fbclid=IwAR3e-hYG3iMvIOBIZ46XZc5Ikx0c572hrBmXKQNvPozc3Ppg_TekbIR63aI

Here is the page I am working on

--> https://www.rachelconstantino.com/free-breath-journey-thank-you-1 

As it is now, I have a button that opens a lightbox form... but the form doesn't work.

Below is my custom form, but I don't want it to be displayed automatically.

I am hoping to find a way where a button will activate the teal form that says "Join the waiting list for the Breathe & Be Community......"

---------

Any help is greatly appreciated. Thank you

 

 

Do you still need to fi this?

Site URL – https://www.rachelconstantino.com/

1. (Mobile – Homepage) On desktop, can see the entire image. On mobile, the image is partially cropped.

https://www.rachelconstantino.com/

rachelconstantino.com-01-min.png

2. (Mobile/Tablet – Blog posts) Paginations are too closed together.

https://www.rachelconstantino.com/blog/the-4-internal-seasons-of-a-womens-monthly-moon-cycle

rachelconstantino.com-02-min.png

3. (Mobile/Tablet – Contact) Email is cut into 2 lines.

https://www.rachelconstantino.com/contact

rachelconstantino.com-03-min.png

4. (Tablet – Homepage) The width of the text block is a bit small. Text is cut to the next line.

https://www.rachelconstantino.com/

rachelconstantino.com-04-min.png

5. (Tablet – Footer) Link put in text Event is https://www.rachelconstantino.com/upcoming-events and this link does not exist.

https://www.rachelconstantino.com/upcoming-events

rachelconstantino.com-05-min.png

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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.