CC-2116 : Add Extra Form Validation For Rebroadcasts
adding check for time fields since zend passes 09:0f setting min date on rebroadcast date picker to be start date of show.
This commit is contained in:
parent
8f8bd68849
commit
b59e7aef32
4 changed files with 24 additions and 22 deletions
|
@ -31,7 +31,8 @@ class Application_Form_AddShowWhen extends Zend_Form_SubForm
|
|||
'filters' => array('StringTrim'),
|
||||
'validators' => array(
|
||||
'NotEmpty',
|
||||
array('date', false, array('HH:mm'))
|
||||
array('date', false, array('HH:mm')),
|
||||
array('regex', false, array('/^[0-9:]+$/', 'messages' => 'Invalid character entered'))
|
||||
)
|
||||
));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue