Handling Multiple input with same field name as array. and show valdiation error |
With the code you have, if you print_r or var_dump the errors session variable, you should able to get the "index" associated with the error message. So, your error message display should look something like this:
PHP Code: <?= session('errors.doc_no.0') ?> Where the 0 indicates the index. |
Welcome Guest, Not a member yet? Register Sign In |