Unable to access an error message corresponding to your field name

前端 未结 5 804
情书的邮戳
情书的邮戳 2020-12-29 23:37

I have a callback function that check_captcha which sees if $row is ==0 or == 1 (this information is queried from sql).

The p

5条回答
  •  旧时难觅i
    2020-12-30 00:00

    Actually the best way, instead of write the error message directly on controller, would be add this entry "check_captcha" on languages.

    In my case, the message for validation rule (form validation) "less_than" was not present.

    I changed the file /system/language/??/form_validation_lang.php. I've added the missing entry.

提交回复
热议问题