Plugin Author
Phil
(@philsbury)
Hi @carleorganisation,
Out of the box no, but we did have some success in making something similar in another thread.
Have a look over this and see if it makes sense:
https://ww.wp.xz.cn/support/topic/disable-month-and-day-field/
Thanks
Phil
Thanks, the code does work, the month and day disappear, but when I click on validate, nothing is happening. Maybe you can check, the URL is https://pech-latt.com/
Plugin Author
Phil
(@philsbury)
Hi @carleorganisation,
Try changing the event trigger to be window rather than document e.g.
$(window).on('agegateshown', function(){
Thanks
Phil
Thanks Phil, I tried with the new trigger, unfortunately still the same issue, when i click on validate, nothing happens 🙁
Plugin Author
Phil
(@philsbury)
Hi @carleorganisation,
You can remove everything here, there is now an option for this if you are using input fields built into the plugin.
Thanks
Phil
Hi, May I ask where is now an option for this please? I’d like to only ask for year too. I tried the JS above but didn’t work. I couldn’t find option in plugin settings.
Thank you very much for any help
-
This reply was modified 4 years, 6 months ago by
martywebie.