Form validation custom message |
I'm using a Rule group for my form validation but I need a custom message for one of the rule. I tried looking through the documentation but nothing was mentioned about this type of use-case. Could anyone help me out on how to go about this: Form Validation -> Rule Group -> Custom Message
Form Library provides set_message() method to set message on validate rule, even run CI native rule or custom created rule, see below example
PHP Code: # required is rule name |
Welcome Guest, Not a member yet? Register Sign In |