It looks like you're new here. If you want to get involved, click one of these buttons!
$config['employee']['form'] = array(
'required_text' => '* Requiered Fields',
'css_class' => '',
'form_attrs' => array('method' => 'post'),
'submit_value' => 'Register',
);
$this->form_builder->set_fields($this->form_data['fields']);
$employee_values = array(
'first_name' => $employee->first_name,
'last_name' => $employee->last_name,
'email' => $employee->email,
'optional_email' => $employee->optional_email,
'occupation' => $employee->occupation,
);
$this->form_builder->set_field_values($employee_values);
$data['form'] = $this->form_builder->render_divs();
Comments
$this->form_builder->submit_value = 'Edit';
Regarding the UTF-8 encoding, it appears that the forum used "Diseñador" for both of them. If you view source in your HTML, what is being rendered for the value in the input field?
I add a white space in my answer before the ";" just to prevent the conversion of the characters.
This error just happens in the input field, if I echo de value in any other tag like h2, p, and more, it is displayed in the correct form