MitchMoon
5 months ago
531
2
Laravel

Controller input validation help

Posted 5 months ago by MitchMoon

How would i validate this type of input to make sure no more then 30 char were used.

select class="fact-5" name="mace_post_id_{{$mace->id}}"

Normally I would use: 'inputnamehere' => 'required|numeric|min:1|max:30', however this won't work for this input can anyone help?

Please sign in or create an account to participate in this conversation.