-
AuthorPosts
-
March 27, 2015 at 4:21 pm #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!
March 29, 2015 at 6:34 pm #420048March 30, 2015 at 7:13 pm #420722This reply has been marked as private.March 31, 2015 at 7:40 pm #421499This 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…
March 31, 2015 at 8:14 pm #421526Thanks 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.
April 4, 2015 at 4:15 am #423337Hey!
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!
AndyApril 4, 2015 at 4:28 am #423338Thanks 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.
April 6, 2015 at 7:42 am #423815Hey!
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!
IsmaelApril 7, 2015 at 1:30 am #424372Thank 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.
-
AuthorPosts
- The topic ‘Contact Form Hide Form Labels’ is closed to new replies.