Jump to content

Counting code (Javascript?)

Recommended Posts

Here's the problem scenario. We are holding an election for my organization. We cannot do it in person. I plan to create a form where people can vote for nine candidates maximum. I would like to know if it is possible to add a script to a form that counts the number of check boxes checked and kicks the form back when it exceeds nine boxes checked, directing voters with an error message that informs them of the voting error. I'm also looking for info on how to implement it. 


Link to comment
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic


There are plugins that may open some doors for form polling/voting solutions for Squarespace that might suit your needs. You can search for them online and see if there's a match with the features you need.

If you're looking for a simple solution, I would suggest looking into using Google Forms to setup a survey and run polls on that platform. You can create a button on your website that re-directs to your Google Form.

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.