In Laravel form input validation, how can I check user to force input number of either 9 digit or 12 digit or 15 digit?
following this suggession
I tried required|regex:/^(d{9}|d{12}|d{15})$|unique:users,id_no
. it shows error.
New contributor
RTweb Tech is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.