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…

#89696
standuncan
Member

Just in case anyone further reads or cares lol

I got it right above pretty much, but had the wrong assignment operator instead of the comparison operator.

Got it working now :D



if(empty($name)){
$errors = '*';
} else {
if ($name == "Name") {
$errors = '*';
}
}