Lookup Fields as Checkboxes (Remove Option after Date has Passed)

By: Walter Jones | Asked: 08/28/2022
ForumsCategory: General questionsLookup Fields as Checkboxes (Remove Option after Date has Passed)
Walter JonesWalter Jones asked 2 years ago
I have a lookup field that displays dates as mm/dd/yy.  I am seeking a way to remove specific options after the day that is listed has passed.  I will not be able to do this with conditional logic.  I was looking for a jQuery solution. Has anyone tried something like this before?
1 Answers
Victor Font answered 2 years ago
You can hide select options with the hidden attribute. See if this helps: https://stackoverflow.com/questions/9234830/how-to-hide-a-option-in-a-select-menu-with-css

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community
crossarrow-right