Menu
Hi, i am currently using this to check for blank fields.
[code=php]
foreach ($form_vars as $key => $value)
{
if (!isset($key) || ($value == ”))
return false;
}
return true;
but this checks every field, how can i exclude a certain fields from here as it is optional. Either that or get it to check the fields i say.
Thanks Adam