Hi support,
Great that you have integrated Google ReCAPTCHA in forms :-)
But how do we translate “Submit” ?
Thanks :-)
OKEIwebbureau
Hey OKEIwebbureau,
Sorry for the late reply, You can change the submit button by adding a code block element to the top of your page and add this script:
<script>
(function($){
$(document).ready(function(){
$("input[type='submit']").val("Send");
});
})(jQuery);
</script>
in this example please change the word “send” to your new word.
If you wish to have this active for your entire site, Then add this code to the end of your functions.php file in Appearance > Editor:
function custom_script(){
?>
<script>
(function($){
$(document).ready(function(){
$("input[type='submit']").val("Send");
});
})(jQuery);
</script>
<?php
}
add_action('wp_footer', 'custom_script');
Best regards,
Mike
Hi Mike,
It doens’t work for me :-/
I tried the solution for the entire site as many pages contain forms.
I am using a child theme and put the code at the very bottom of the file, but the buttons still show “Submit”. However when loading it shortly shows “Sendy”…..but then again “Submit”.
Please take a look at: https://okeiwebbureau.dk/bestil-wordpress-opdateringsservice-og-ugentlig-backup/
Thanks :-)
/OKEIwebbureau
I wasn’t aware of a new update. After installing the reCAPTCHA works.
Please close.
/OKEIwebbureau