how to hide a specific field from a form....

How to hide field from a form??

More information please. Not render the field at all? Only hide at client side at some event? Condition?

maybe this help you




<?php $dispVal=(Yii::app()->user->isGuest) ? 'inline' : 'none';?>

 

<div class="row" style="display: <?php echo $dispVal; ?>">



See this post