Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript jQuery placeholder in IE passing validation… Re: jQuery placeholder in IE passing validation…

#89719
standuncan
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';
}
}