This is my HTML span and Input line where I set it to display:none (hardcoded).
I want this to be show if accountstatus is equal to animaldead
Here's my HTML input and span
<span class = 'v10' style="display:none;"><span style='color:#FF0000;'>*</span>Inception Date:<br /></span>
<input name='period_from' class = 'v11' value = "<?php echo $incepd; ?>" onblur="validateg('<?php echo $fieldstovalidate; ?>','<?php echo $submitbtns; ?>');" id = 'period_from' onfocus=showCalendar('',this,this,'".$period_from."','period_fromd',0,23,1); onfocus=returbcolorback('period_from'); style = 'height:21px;width:140px;display:none' type='text' />
Now here's my if statement
if(strtolower($accountstatus) == 'animaldead')
{ $trutype = "selected";
how will I show it here......
}