Can not use localization on form validation rules |
We have a set of rules like below:
PHP Code: public $rules = array( where we would like to replace the 'label' => 'Email' with $this->lang->line('user_email') However it produces the following error: Message: Constant expression contains invalid operations Are we doing something wrong? |
Messages In This Thread |
Can not use localization on form validation rules - by edoramedia - 11-21-2019, 09:45 AM
RE: Can not use localization on form validation rules - by jreklund - 11-21-2019, 11:20 AM
|