Jump to content

Change language for phone number in contact form

Recommended Posts

Hi, I need to change the language for the phone section of my Spanish site's contact form (see here).

I already found code in a previous post to change the name prompts, but am unable to do the same for the phone number.

This is the code I used for the Name. I pasted it under Page Settings > Advanced:

<style>
  /* First name */
.field.first-name .caption-text {
    visibility: hidden;
}
.field.first-name .caption-text:before {
    visibility: visible;
    content: "Nombre";
}
/* last name */
.field.last-name .caption-text {
    visibility: hidden;
}
.field.last-name .caption-text:before {
    visibility: visible;
    content: "Apellido";
</style>


I need to have the word "Country" (for the country code drop down menu) changed to "País" and the word "Number" to "Número". 

Please help and thank you in advance!

Edited by constanzapsi
mistake
Link to comment
  • Replies 3
  • Views 1.7k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

3 hours ago, constanzapsi said:

I need to change the language for the phone section of my Spanish site's contact form

Have you tried changing the site language to Spanish, in the Language and region settings?

 

Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.

Would you like your customers to be able to mark their favourite products in your Squarespace store?

Link to comment
  • 11 months 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.