Jump to content

Damien-O

Circle Member
  • Posts

    8
  • Joined

  • Last visited

Everything posted by Damien-O

  1. I can confirm that it is possible to do custom form validation on Squarespace forms, even after their switch to React. I can't post the solution we're using, but we are able to block form submission until custom validation rules are satisfied. Just attach an onclick event to the form submit button, when clicked if the custom validation rules fail then use javascript to cancel the click event. With jQuery cancelling the submit button click event is something like this: evt.preventDefault(); evt.stopPropagation(); evt.stopImmediatePropagation(); return false;
×
×
  • 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.