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