Jump to content

teddow

Member
  • Posts

    1
  • Joined

  • Last visited

teddow's Achievements

Level 2

Level 2 (2/20)

0

Reputation

  1. Hi, I'm using square space for the first time and I have never coded before so I hope you guys can help me. I'm trying to translate the hard coded labels in the contact form on our web page https://padelakersberga.com/kontakt-1 I tried with this code, but it didnt work: <script> if (document.querySelector("#name-yui_3_17_2_1_1553888888520_3744")) { document.querySelector('.field-element field-control[name="fname"]').placeholder = 'Förnamn'; document.querySelector('.field-element field-control[name="lname"]').placeholder = 'Efternamn'; } </script> Maybe I'm way off here, the code could be totally wrong, but I found some similar code while searching for answers so this is what I came up with. BR Ted
×
×
  • 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.