Home › Forums › JavaScript › jQuery placeholder in IE passing validation… › Re: jQuery placeholder in IE passing validation…
October 26, 2011 at 4:14 pm
#89719
Member
and for some reason this was working on 1 input, but not another, so then I tried this and it seems to be working for the most part too. Are either of these even correct?
if(empty($phone)){
$errors = '*';
} else {
if ($phone = "Phone") {
$errors = 'Enter your phone';
}
}