79507635

Date: 2025-03-13 21:14:06
Score: 2
Natty:
Report link

Read the documentation. There are almost all the answers there.
https://codeigniter4.github.io/userguide/libraries/validation.html#redirect-and-validation-errors

Add helper(['form']); in Home::index and use in template validation_show_error('username')

There are no property of $this->validation, there is a $this->validator but it is created after the validate() call.

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: ozornick