0

Hello

I am writing an PHP module for admission process. It have an admission form. Tentatively ddmission process start from mid of March and ends in mid of May (not fixed). My question is what is the best way to activate and deactivate the calendar control of this admission form before and after the admission date so user cannot use this admission form except the announced admission period.

Any suggestion is welcmed and appriciated.

2
Contributors
1
Reply
11
Views
3 Years
Discussion Span
Last Post by JorgeM
1

You could store the start and end date in one of your db tables, or another data source such as an xml file. Then when the page is loaded, using php code, check the current data and see if its within the start and end date that you are storing. If it is, show the calendar. If not, do not show it.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.