I realize it's Saturday, but I figured I'd ask anyway :)
I have a dropdown form field where three of the items should only appear between two dates. I've already created a function to check the current date, and the function will add a "display:none;" all to the header so it'll hide the options I want. However, although I can add a class to the dropdown itself, I can't add specific classes to the individual options. The output simply gives
<option value="whatever value">Option name</option>
where I'd like the output to be
<option value="whatever value" class="someclass">Option name</option>
is there some sort of hook or something so I can make that happen?