Make sure two input fields are the same?

valandor062

New Member
Sorry if this has been asked before... I'm sure it has but in my searching I I came up with a lot of pages and nothing I wanted.

I want to validate one field against another. This was it's possible to have them confirm their e-mail address, password and all that. Is there a plugin or another way to go about this?

Thanks
 
Found the answer....

$app = JFactory::getApplication();
$f = $app->input->get('fabrik_users___email', 'default value', 'string'); //'string' = filter e.g. 'INT','STRING'

//If field one and field two don't match return false/error
if($f != $data){
return false;
}
else{
return true;
}
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top