Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #419376

    I’m trying to use the contact form “hide form labels” feature on my site. When I do it works correctly except for the datepicker field and select element. The datepicker shows MM/DD/YY instead of the form element label and and the select element shows the first item of the form element options. I checked with Kriesi and he said it shouldn’t be doing that and to open a ticket along with my login credentials so you can take a look at the backend.

    I have 3 sites that use Enfold and the same thing happens on all of them. I also have the newest version of 3.1.2 installed. I don’t have this feature turned on yet because it isn’t working correctly. I also tried deactivating all the plugins to see if that made a difference and it did not. Not sure why this isn’t working but can you please take a look and let me know how to fix so I can fix this on all my sites please? Thank you!

    #420048

    Hey djshortkut!

    it’s showing fine for me on your website:

    Please clear your browser cache and refresh the site a few times.

    Regards,
    Andy

    #420722
    This reply has been marked as private.
    #421499

    This is really weird. Cant reproduce the issue at all. Did you update the theme via backend or FTP? If it was ftp maybe the files weren’t replaced correctly. In that case I would try to update the whole theme or at least the framework folder again…

    #421526

    Thanks for taking a look Kriesi! So you are not seeing the issues I sent in the screen shot at all? If you take a look at the screen shot that Andy took above, the contact form looks the same as mine too. This happens in any browser I pull the site up on.

    I update the theme via FTP. I tried re-updating the whole theme and even updating the framework folder separately via FTP and clearing the cache multiple times and still the same issue. This even happens when I pull up the site on a browser that I have never used to look at the site.

    #423337

    Hey!

    I can’t reproduce this issue neither (which means on our local installation we can’t see it). So I think a plugin might cause this problem. Please deactivate all of them and check if things get better. Afterwards you can activate them again one by one to see which one is causing this.

    Hope this helps.

    Cheers!
    Andy

    #423338

    Thanks Andy. I deactivated all of my plugins and it still shows the same thing. The strange thing is that it is doing the same thing on 3 different enfold installations.

    #423815

    Hey!

    Actually, that is the default behaviour of the datepicker element if you hide the labels. It displays the placeholder instead. Add this to the functions.php file if you want to reset the placeholder value of the datepicker element:

    add_action('wp_footer', 'ava_contact_placeholder');
    function ava_contact_placeholder(){
    ?>
    <script>
    (function($){	
    	$('.avia_datepicker').removeAttr('placeholder');
    	$('.avia_datepicker').attr('placeholder', 'Date of Event');
    })(jQuery);
    </script>
    <?php
    }
    

    Cheers!
    Ismael

    #424372

    Thank you Ismael! That’s exactly what I was looking for. Hopefully this will be updated in a future update of theme as I think it’s an addition that makes sense with this feature. You can close this thread.

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Contact Form Hide Form Labels’ is closed to new replies.