kujo Posted January 8, 2020 Share Posted January 8, 2020 (edited) This topic was originally posted here in 2013: I had the same issue with translating from English to French on the contact form on my bilingual site. The original custom code workarounds that were provided worked for me last year, but at some point afterwards the form reverted back to English. Squarespace help confirmed the only way to "fix" this is through custom code. Would anyone know of any new or revised code I can inject to make this work? I want "first name" to read "prénom" and "last name" to read "nom". Thank you! Edited January 8, 2020 by kujo Clarification Link to comment
tuanphan Posted January 8, 2020 Share Posted January 8, 2020 You can use CSS to translate text. Need link to form. You can also JavaScript/CSS to remove caption. Need link to form. Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Xbal Posted June 2, 2021 Share Posted June 2, 2021 Hello @tuanphan, How can I do this? with CSS only? and only for the English form? I have used this from Paul2009, but it didn't work. <script> if (document.querySelector("#name-yui_3_17_2_1_1559593002966_3555")) { document.querySelector('.field.first-name .caption .caption-text').innerText = 'First name'; document.querySelector('.field.last-name .caption .caption-text').innerText = 'Last name'; } </script> in the PAGE HEADER CODE INJECTION of a certain page in order to only change it there, but nothing happened. Then I went on and put it onto the global footer code injection and then it change BUT unfortunately for all pages. I would like to have it only on my English contanct form. Do you know how I can accomplish that? I am working on stelviopartners.com Thank you very much, cris Link to comment
Beyondspace Posted June 2, 2021 Share Posted June 2, 2021 2 hours ago, Xbal said: Hello @tuanphan, How can I do this? with CSS only? and only for the English form? I have used this from Paul2009, but it didn't work. <script> if (document.querySelector("#name-yui_3_17_2_1_1559593002966_3555")) { document.querySelector('.field.first-name .caption .caption-text').innerText = 'First name'; document.querySelector('.field.last-name .caption .caption-text').innerText = 'Last name'; } </script> in the PAGE HEADER CODE INJECTION of a certain page in order to only change it there, but nothing happened. Then I went on and put it onto the global footer code injection and then it change BUT unfortunately for all pages. I would like to have it only on my English contanct form. Do you know how I can accomplish that? I am working on stelviopartners.com Thank you very much, cris Where is the page's form BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date format) 💫 Animated Buttons (Referral URL) 🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations) 🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
tuanphan Posted June 3, 2021 Share Posted June 3, 2021 On 6/2/2021 at 6:49 PM, Xbal said: Hello @tuanphan, How can I do this? with CSS only? and only for the English form? I have used this from Paul2009, but it didn't work. <script> if (document.querySelector("#name-yui_3_17_2_1_1559593002966_3555")) { document.querySelector('.field.first-name .caption .caption-text').innerText = 'First name'; document.querySelector('.field.last-name .caption .caption-text').innerText = 'Last name'; } </script> in the PAGE HEADER CODE INJECTION of a certain page in order to only change it there, but nothing happened. Then I went on and put it onto the global footer code injection and then it change BUT unfortunately for all pages. I would like to have it only on my English contanct form. Do you know how I can accomplish that? I am working on stelviopartners.com Thank you very much, cris It looks like you solved? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Xbal Posted June 4, 2021 Share Posted June 4, 2021 On 6/2/2021 at 4:20 PM, bangank36 said: Where is the page's form https://www.stelviopartners.com/contact-us Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment