fbpx
Skip to content
Questions & AnswersCategory: QuestionsSwitch language in email placeholder
theresa asked 3 years ago
theresa replied 3 years ago

Devised an answer of my own and it works for me! 🙂 This is mine for having English and French.

4 Answers
theresa answered 3 years ago

<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js">

$(document).ready(function() {

$(“.newsletter-form-field-element”).attr(‘placeholder’,’….Email Address..Adresse E-mail….’);

});

theresa replied 3 years ago

Devised an answer of my own and it works for me! 🙂 This is mine for having English and French.

theresa answered 3 years ago

My entire code did not paste. Here it is again. Put this in the header code injection.

<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js">

$(document).ready(function() {

$(“.newsletter-form-field-element”).attr(‘placeholder’,’….Email Address..Adresse E-mail….’);

});

theresa replied 3 years ago

Okay. I don’t know why my whole thing does not show. I’ll try putting it in a comment instead:

$(document).ready(function() {
$(“.newsletter-form-field-element”).attr(‘placeholder’,’….Email Address..Adresse E-mail….’);
});

theresa replied 3 years ago

Nope. Doesn’t work LOL

theresa replied 3 years ago

Wow – weird. Something is always missing!

theresa answered 3 years ago

Then:

$(document).ready(function() {

$(“.newsletter-form-field-element”).attr(‘placeholder’,’….Email Address..Adresse E-mail….’);

});

theresa replied 3 years ago

NOPE! still missed stuff!!

theresa replied 3 years ago

oh well! Dave – if you see this maybe you can help.

Dave Hilditch Staff replied 3 years ago

Can you reply with an imgur image link for a screenshot of your code? This website has stuff built in to prevent people adding javascript to comments unfortunately.

Alternatively – you could paste your code into jsfiddle then share the link to your jsfiddle:

https://jsfiddle.net/

We use cookies

We use cookies for various things on our site, including our on-site chat bubble (if you use it), our comment forms (if you use them) and for session handling (if you log in).

Other than that, we use cookies to identify where traffic came from to help us understand which traffic turns into sales, we use a cookie for Google Analytics traffic analysis and we use a cookie to customise adverts for our own products we think you'll be interested in.

You can read more detail in our privacy policy page. Please click 'Accept' or 'Decline' to continue.