Welcome Guest, Not a member yet? Register   Sign In
Form validation last validation
#5

(This post was last modified: 12-14-2014, 11:22 AM by BABYpanda.)

aahh thanks for your answer! I got it fixed now Smile

Though I am struggling to get this working:
$this->form_validation->set_message('required', $this->lang->line('tb_err_field_required'));

Apparently you are not allowed to use language in set_message? How can I change the error message depending on what language the user has selected?

Thanks
- Reno

EDIT: I guess this has to be done in the form_validation.php file per language instead of a custom language file ? But I'd like to do this form dependent, without setting the language in the file itself :<
Reply


Messages In This Thread
Form validation last validation - by BABYpanda - 12-14-2014, 05:44 AM
RE: Form validation last validation - by Rufnex - 12-14-2014, 08:47 AM
RE: Form validation last validation - by BABYpanda - 12-14-2014, 11:07 AM
RE: Form validation last validation - by Rufnex - 12-14-2014, 11:36 AM
RE: Form validation last validation - by Rufnex - 12-14-2014, 12:08 PM



Theme © iAndrew 2016 - Forum software by © MyBB