Jump to content

How to stop the asterisks from appearing after SUBMIT in forms

Go to solution Solved by Lesum,

Recommended Posts

Hi all,

I've used this code to change "required" to an asterisk in forms.

/* Change (required) to an asterisk */
.sqs-block-form span.required{ 

.sqs-block-form span.required:before{ 


I've recently noticed that when the form is submitted the asterisks stay on the post message (like little cute annoying stars). 🙂

Any ideas on how to stop this? Thanks.






Link to comment
  • Replies 2
  • Views 217
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

  • Solution
Posted (edited)

@ccochran Hi! To hide the asterisks after form submission, add this code under Website > Pages > Website Tools > Custom CSS

form:not(.react-form-contents--submitted) {
  .form-item span.required {
    visibility: hidden;
  .form-item span.required:before {
    content: "*";
    visibility: visible !important;

form.react-form-contents--submitted {
  .form-item span.required:before {
    display: none !important;


Edited by Lesum

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

Web Developer & Digital Designer

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

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.