Jump to content

Checkboxes not working on forms

Go to solution Solved by Lesum,

Recommended Posts

  • Solution

@ Here's a code snippet to fix the issue on your website:

.sections .form-block .form-item input[type='checkbox']:checked {
	background: #000 !important; 
}
.sections .form-block .form-item input[type='radio']:checked {
	background: #000 !important; 
}

If my comments were useful, please like or mark my solution as answer so others can scroll to it quickly. 

Sam
Web Developer & Digital Designer

 Did you find my contribution helpful? Buy me a coffee?

Link to comment
Just now, ShortAngryViking said:

having the same issue. Mine is not showing the checked box selected but is showing up on the form when I receive it.

Will try that snippet  @Lesum
 

@ShortAngryViking Let me know if it works on your site. Thanks!

If my comments were useful, please like or mark my solution as answer so others can scroll to it quickly. 

Sam
Web Developer & Digital Designer

 Did you find my contribution helpful? Buy me a coffee?

Link to comment

Still not showing up. I have other forms elsewhere on the site and they are working a treat (Home & Request Service Pages)

This one form is connected to the "shop"  (not an actual store yet) i have it setup as an order form where they select items and then re reply with bank details. Store will come when things get busier.


Thanks @Lesum

Edited by ShortAngryViking
Link to comment
  • 2 months later...
On 11/23/2023 at 4:12 AM, MarketingFounderMade said:

Hi, having this problem too, all forms affected. Both code snippets don't work when added to custom css - any ideas?

Can you share link to page where you use form?

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
On 11/28/2023 at 3:51 AM, MarketingFounderMade said:

https://www.foundermade.com/speaker-form

That's one page where you can see!

I see it still works here, but when users hover out >> checkbox disappear. You mean this problem?

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
On 12/1/2023 at 6:44 AM, MarketingFounderMade said:

Yes, precisely, it's confusing users.

You can use this code to Custom CSS

div#block-d7bd4600a9ee004ca4a8 .form-item.checkbox label input[type="checkbox"]:checked {
background-color: #a9a9a9 !important;
}

 

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.