I have to create a form that can be enabled and disabled by the admin, In my case the admin enable the form for two months per year(to be filled by users) a sort of survey.
The admin provide start date and end date ,if the Current date is in the periode given the form is enabled for all of users else a message “form unavailable”appears.
The form contain a lot of information ,those data will be stored in the database on multiple tables.
How can I do that programmatically?