• Resolved RockYourBlog

    (@rockyourblog)


    Hey there,

    Is it possible to set the placeholder attribute in the input field for the email address? Something like “Enter your email here…” or similar.

    Thanks in advance.

    Philipp

Viewing 1 replies (of 1 total)
  • Thread Starter RockYourBlog

    (@rockyourblog)

    Since I can’t wait that long for an answer and the support forum here doesn’t seem to be very active, I solved my issue myself with some JS code:

    document.addEventListener('DOMContentLoaded', () => {  
                document.getElementById("haet-cleverreach-cleverreach_email").setAttribute("placeholder", "Your eMail here");
                });   

    Basically you can add any attribute you wish that way, for example I added an aria label so that people with disabilities who use screen readers can interact with the form, too.

    I like CleverReach, but this plugin is very barebones tbh.

Viewing 1 replies (of 1 total)
  • The topic ‘How to set the placeholder attribute for the email field?’ is closed to new replies.