Dec 10, 2016
0
Level 4
Validation of attribute which could be a string or array
Hi,
is it possible to check this within one validation ruleset?
'fileformat' => 'present|filled|string|in:jpg,png,svg',
'fileformat.*' => 'present|filled|string|in:jpg,png,svg'
Thx
Please or to participate in this conversation.