Welcome Guest, Not a member yet? Register   Sign In
Accessing validation field values in 1.7?
#1

[eluser]degu[/eluser]
Hi,

this is probably a stupid question, but how do I access field values with the new form validation library? In 1.6, you could use:

Code:
$this->validation->title

It looks like there is no equivalent in 1.7? Or am I missing something? I know that I can use set_value, but this is a helper method to repopulate forms. And
Code:
$this->form_validation->_field_data['title']['post_data']
doesn't look correct either.

So, what's the recommended way to access field values in a controller with CI 1.7? Thanks.


Messages In This Thread
Accessing validation field values in 1.7? - by El Forum - 10-27-2008, 11:15 AM
Accessing validation field values in 1.7? - by El Forum - 10-27-2008, 12:56 PM
Accessing validation field values in 1.7? - by El Forum - 10-27-2008, 02:29 PM
Accessing validation field values in 1.7? - by El Forum - 10-27-2008, 02:42 PM
Accessing validation field values in 1.7? - by El Forum - 10-27-2008, 02:42 PM
Accessing validation field values in 1.7? - by El Forum - 10-27-2008, 03:00 PM
Accessing validation field values in 1.7? - by El Forum - 10-27-2008, 03:19 PM
Accessing validation field values in 1.7? - by El Forum - 11-04-2008, 09:59 AM
Accessing validation field values in 1.7? - by El Forum - 11-17-2008, 10:55 AM
Accessing validation field values in 1.7? - by El Forum - 11-17-2008, 10:59 AM



Theme © iAndrew 2016 - Forum software by © MyBB