Search the Community
Showing results for tags 'validation'.
Does anyone know how to add an error message after doing a validation on a Squarespace form? I saw an example that allows to do a validation on submit and disable the submit button, but I don't know how to add an error message to inform the user about the issue with the submission in case that there was an incorrect input. This is from where I got the idea: I want to do a validation on a text field and show a simple error message if the input doesn't pass the validation. @summitdigitaluk any ideas?
Has anybody had any experience with adding their own validation to a Squarespace form? Essentially stopping the normal submission process, checking some custom validation, then continuing as normal/stopping the submission if there was an invalid entry? I have a client that needs some number fields to be submitted within a specific range and a few other variations on this theme. I'm hoping to find a simple solution, but I'm also happy to go with a very complicated one 😆 @michaeleparkour Do any of your plugins do this, or perhaps this is something you have come up against?