Welcome Guest, Not a member yet? Register   Sign In
[SOLVED] GRRR! set_select form validation failing on integer [SOLVED]
#9

[eluser]drakeonfire[/eluser]
How odd... My problem for the post being lost was:
Code:
$CI->form_validation->set_rules(
array(
'field' => 'ca_title',
'label' => 'Title',
'rules' => 'htmlspecialchars|required|min_length[3]|max_length[200]'
);
I changed it so it is:
Code:
$CI->form_validation->set_rules('ca_title','Title','htmlspecialchars|required|min_length[3]|max_length[200]');

And now the set_value function is working correctly when an item is posted (it doesn't use default, uses posted item).

Only issue is the set_select is still not working grr!


Messages In This Thread
[SOLVED] GRRR! set_select form validation failing on integer [SOLVED] - by El Forum - 02-17-2012, 04:27 AM



Theme © iAndrew 2016 - Forum software by © MyBB