Jump to content

to Change "Name is missing required subfields: First Name" error message on newsletter form

Recommended Posts

Site URL: https://rose-orb-4xd7.squarespace.com/config/design/custom-css

site password '642Rasmus'

 

I've managed to Change "email format error message" on ny newsletter template using the follwing Custom CSS

 

#block-yui_3_17_2_1_1664183031985_2019.newsletter-block .newsletter-form-field-wrapper.form-item.field.email.required.error .field-error {
  font-size: 0px;
}
#block-yui_3_17_2_1_1664183031985_2019.newsletter-block .newsletter-form-field-wrapper.form-item.field.email.required.error .field-error:before {
  font-size: 12px;
  content: 'Forkert email format';
}

Now  I want to do the same for the "Name is missing required subfields: First Name" error

Custom css looks like: 

#block-yui_3_17_2_1_1664183031985_2019.newsletter-form-name-fieldset.form-item.field.name.required.error .field-error {
  font-size: 0px;
}
#block-yui_3_17_2_1_1664183031985_2019..newsletter-form-name-fieldset.form-item.field.name.required.error .field-error:before {
  font-size: 12px;
  content: 'Manglende navn';
}

Clearly however this doesn't work...

image.png.64b1b06daba43fcd22b7d10b7d923947.png

 

What am i doing wrong?

 

/Rasmus

Link to comment
  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

1 hour ago, rasmusarentsen said:

Site URL: https://rose-orb-4xd7.squarespace.com/config/design/custom-css

site password '642Rasmus'

 

I've managed to Change "email format error message" on ny newsletter template using the follwing Custom CSS

 

#block-yui_3_17_2_1_1664183031985_2019.newsletter-block .newsletter-form-field-wrapper.form-item.field.email.required.error .field-error {
  font-size: 0px;
}
#block-yui_3_17_2_1_1664183031985_2019.newsletter-block .newsletter-form-field-wrapper.form-item.field.email.required.error .field-error:before {
  font-size: 12px;
  content: 'Forkert email format';
}

Now  I want to do the same for the "Name is missing required subfields: First Name" error

Custom css looks like: 

#block-yui_3_17_2_1_1664183031985_2019.newsletter-form-name-fieldset.form-item.field.name.required.error .field-error {
  font-size: 0px;
}
#block-yui_3_17_2_1_1664183031985_2019..newsletter-form-name-fieldset.form-item.field.name.required.error .field-error:before {
  font-size: 12px;
  content: 'Manglende navn';
}

Clearly however this doesn't work...

image.png.64b1b06daba43fcd22b7d10b7d923947.png

 

What am i doing wrong?

 

/Rasmus

Try adding to Home > Design > Custom Css

#block-yui_3_17_2_1_1664183031985_2019 .newsletter-form-field-wrapper.first-name .field-error {
  font-size: 0px;
}
.newsletter-form-field-wrapper.first-name .field-error:before {
  font-size: 12px;
  content: 'Manglende navn';
  text-align: center;
  display: block;
}

Support me by pressing 👍 if this useful for you

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment

My testing

image.png.466fcc9dfb4494debae47b702822bfbf.png

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment
  • 4 weeks later...

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.