Welcome Guest, Not a member yet? Register   Sign In
New validation library - How to access single values?
#1

[eluser]Benedikt[/eluser]
Hi,

In the "old" library I could do the following:

Code:
if ( $this->validation->run() === TRUE )
{
   echo $this->validation->Password;
}

How do I do this with the new library? All I find is ways to repopulate values (set_value).

Can anybody give me a hint?

Thanks a lot.
#2

[eluser]ch5i[/eluser]
Hi,

I use an extension of the Form_Validation class, see this post.

br,
Thomas
#3

[eluser]Benedikt[/eluser]
Ok, so this is the way to access it:
$this->_field_data[$field]['postdata'];

Thanks for your coding, I used it to create my own.

Thanks!!




Theme © iAndrew 2016 - Forum software by © MyBB