Formbuilder: exclude select menu items after given date
Posted: Wed Nov 13, 2013 4:05 pm
I have a form set up for visitors to enquire about events occurring during the current year.
The events are selected from a dropdown select menu, populated by a ***Field.class.php file that I've added.
It works fine, but I'm wondering if there is a way for events to only be included in the select menu if the current date is before a given date.
Is this something that could be done in Formbuilder's Advanced Settings for the field using Smarty or PHP conditionals?
The events are selected from a dropdown select menu, populated by a ***Field.class.php file that I've added.
It works fine, but I'm wondering if there is a way for events to only be included in the select menu if the current date is before a given date.
Is this something that could be done in Formbuilder's Advanced Settings for the field using Smarty or PHP conditionals?