diff --git a/examples/5-validator.php b/examples/5-validator.php index a373c70..7a95f6e 100644 --- a/examples/5-validator.php +++ b/examples/5-validator.php @@ -15,7 +15,7 @@ $form->addNumber('Age', '', true, ['min'=>5, 'max'=>20, 'step'=>1, 'class'=>'text-center'])->setInputSize(2); $form->addSelect('Fruit', '', ['Apple', 'Banana', 'Pear'], true, true); $form->addRadio('Rating', '', ['Bad', 'Medium', 'Good'], true); -$form->addFile('CV', '', true, ['accept' => '.doc,.docx,.pdf,application/msword,application/pdf']); +$form->addFile('CV', '', true, ['accept' => '.doc, .docx, .pdf, application/msword, application/pdf']); $form->addTextArea('Comments', '', false, '', ['minlength'=>5, 'maxlength'=>255]); $form->addColorPicker('Color', '', false); $form->addUrl("Website", '', false);