Yii form validation: variable containing the error -


i'm using gridview form in yii. if have validation error example textfield, how can access variable stores fact of error? because change background color of grid based on this. have in gridview's column (because a little trick):

array( 'value' => 'chtml::textfield("orderproduct[$row][pcs]",     $_post["orderproduct"][$row]["pcs"],     array("id" => "orderproduct_" . $row . "_pcs", "style" => "width: 20px; "))',     'type' => 'raw', ), 

but think error should there somewhere, , should have id or something, can't find it. lot!


Comments

Popular posts from this blog

java - nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet Hibernate+SpringMVC -

sql - Postgresql tables exists, but getting "relation does not exist" when querying -

asp.net mvc - breakpoint on javascript in CSHTML? -