Support » Plugin: WP GDPR Compliance » Change placeholder text in email field of requests tab

  • Resolved lexcasus

    (@lexcasus)


    Hello,

    first of all, thank you for this easy to use und useful plugin.

    I have just one problem with the placeholder text in the email field of the requests tab.
    For me it is important to change the placeholder text from “Deine E-Mail-Adresse” to “Ihre E-Mail-Adresse” or simply “E-Mail-Adresse”.

    How can I change it?
    Another solution would be, to hide the placeholder text.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • lexcasus

    (@lexcasus)

    I solved it by myself.

    var email = document.getElementsByName(“wpgdprc_email”)[0];
    email.value=”;
    email.placeholder=’Ihre E-Mail-Adresse’;

    • This reply was modified 5 months ago by lexcasus.
    Plugin Contributor Merijn Molenaar

    (@merijnmolenaar)

    Hey @lexcasus,

    Sorry for the late reply.
    I advice you to instead of using JS. You change the translation in translation file.
    You can find the file under wp-content/languages. You need a tool like Poedit for it.

    Be advised that these files will most likely be overwritten when the plugin is updated. So I would back up your custom translation file so you can easily use it again later on.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.