aradianoff / recaptchacontact

reCaptcha Contact Plugin for Grav CMS (getgrav.org)
MIT License
8 stars 11 forks source link

Placeholder doesn't work anymore in latest RC5 release #13

Closed danreb closed 7 years ago

danreb commented 8 years ago

Hi There, After upgrading to latest Grav CMS release I've just found out that the placeholder attribute in each of the form field doesn't work anymore. It seems it is striped out.

Here's the HTML output of the form now

 <form class="form-horizontal" action="contact-us" method="post" id="recaptchacontact">
        <fieldset><h3>
                <legend class="legend">Contact me</legend>
            </h3>

                            <div id="recaptchacontact-messages"></div>

            <div class="form-group">
                <label class="control-label" for="name">Name</label>
                <input id="name" name="name" type="text" ="Add your name" class="form-control"></div>

            <div class="form-group">
                <label class="control-label" for="email">Email</label>
                <input id="email" name="email" type="text" ="Add your email" class="form-control"></div>

            <div class="form-group">
                <label class="control-label" for="message">Message</label>
                <textarea class="form-control" id="message" name="message" ="Add your message" rows="5"></textarea></div>

            <div class="g-recaptcha" data-sitekey="6Le0JRETAAAAAKPRdtxgV4R2UL_w8OD-abISpHJW"></div>

            <div class="form-group antispam-div">
                <label class="control-label" for="antispam">Antispam</label>
                <input id="antispam" name="antispam" type="text" ="Please leave this field empty for Antispam" class="form-control"></div>

            <div class="form-group">
                <div class="text-right">
                    <button type="submit" class="button">Submit</button>
                </div>
            </div>
        </fieldset></form>
Perlkonig commented 7 years ago

Are you still having this problem? I see placeholders over here. If you are, please open a new issue with some details about the versions of Grav and the plugin you're running and maybe a list of other plugins installed. We've made a number of changes today and will be posting a new version soon. Hopefully that will fix any problems you're having.