Shaun Adlam

Results 2 issues of Shaun Adlam

isset and !isset is not working because the $tmp date values are set to false. Replace with !empty and empty Ex if (!empty($tmp_start_date)) = false because ($tmp_start_date = $this->_is_format_valid($this->attributes['direction'][0])) function...

Link error message to a spesific field same as clientside validation $form = new Zebra_Form('my_form'); $obj = $form->add('text', 'my_text'); if ($form->validate()) { if ((int)$_POST['my_text']) < 1 || (int)$_POST['my_text']) > 10)...