[eluser]Uresh Patel[/eluser]
HI,
I have implemented the form_validation method in my forms.My site is having multiple languages facility.
So now i came to know that in for_validation file i also need to put validation as in different language files tags.
Code:
<?php
$config = array(
'academy_blog' => array(
array(
'field' => 'academy_user_id',
'label' => 'Academy_user_id',
'rules' => 'required|trim|xss_clean'
),
array(
'field' => 'blog_title',
'label' => 'Blog_title', // $this->lang->line('title_label')
'rules' => 'required|trim|xss_clean'
),
array(
'field' => 'blog_desc',
'label' => 'Blog_desc',
'rules' => 'required|trim|xss_clean'
)
)
i use this tag like above i commented.it gives error.
can anyone guide me please ?
Thank You,
Uresh Patel