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

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

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

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

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

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

Link to comment
  • 4 months later...

Hello,  I am having the same issue on my form, the user is not able to check any of the boxes (actually they are circles).  None of the above css codes are working for me.. any other way I can try?

Link to comment

I'm having the same issue, the checkbox disappears when users hover out - they are unable to confirm whether the box is checked and is causing confusing around subscription - the single most imporant feature for my website, can someone help please?

www.sakaicooks.com/sign-up

 
Link to comment
6 hours ago, sakai said:

the checkbox disappears when users hover out

The check is actually there but the color scheme is preventing it from easily being seen.

Screenshot2024-04-23at10_55_47AM.png.999ec4ec6ca27ff9cfffb41849443fb9.png

I don't have a solution but in general you might try adjusting the colors so the check is more visible.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

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.