Hi all, can anyone help me with setting validator, so that it allowed me to send form without attached file?
This is corresponding rule in SourcesTable.php:
This is my add action (click to enlarge image):
Thank you very much!
Hi all, can anyone help me with setting validator, so that it allowed me to send form without attached file?
This is corresponding rule in SourcesTable.php:
This is my add action (click to enlarge image):
Thank you very much!
->scalar()
allowEmptyString()
is also not what you want here. You want$validator->allowEmptyFile('last_stability_exam_folder');
Thank you very much.