| | |
| | | EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| | | */ |
| | | |
| | | include_once('validate_datetime.inc.php'); |
| | | include_once 'validate_datetime.inc.php'; |
| | | |
| | | class validate_autoresponder extends validate_datetime |
| | | { |
| | | function start_date($field_name, $field_value, $validator) |
| | | { |
| | | # save field value for later use in end_date() |
| | | // save field value for later use in end_date() |
| | | $this->start_date = $field_value; |
| | | |
| | | if ($this->_datetime_selected($field_value)) { |
| | | # We just require a start date be set |
| | | // We just require a start date be set |
| | | return; |
| | | } |
| | | if($_POST['autoresponder'] == 'y') { |
| | |
| | | return $_msg; |
| | | } |
| | | } |
| | | |
| | | } |