Welcome Guest, Not a member yet? Register   Sign In
Custom form validation
#3

(This post was last modified: 01-24-2023, 04:38 AM by chakycool.)

Thanks Kenjis, I went with the below code on the view if someone else run in to this issue.

Code:
echo session('validation') ? session('validation')->getError('email') : '';


you can also go with the very sort method as below and not load the service on the view at all.

Code:
<?=validation_show_error('email') ?>
Reply


Messages In This Thread
Custom form validation - by chakycool - 01-24-2023, 03:15 AM
RE: Custom form validation - by kenjis - 01-24-2023, 03:47 AM
RE: Custom form validation - by chakycool - 01-24-2023, 04:16 AM



Theme © iAndrew 2016 - Forum software by © MyBB