(09-06-2023, 05:38 AM)sammyskills Wrote: 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.
Yes, now im able to show error messages. but my validation is not working. it always showing the error message if i enter the data also.