yii ajax renderpartial with form validation -


i have dropdown list in yii depending on id renders additional fields (that requests other models).

how can use $form field in (it's yii-bootstrap) can have validation messages (via $form->errorsummary() ) , not implementing own javascript messages?

i'm not entirely sure asking for, seems it's related rendering form fields/errors , validation. far specifing custom selector fields goes, chthml::activedropdownlist, it'll let define drop list items accordingly. validation, can validate drop down making have it's own validation rule , error described here:custom model validators. allow use chtml::errorsummary($model) dropdown return appropriate error message if it's validation fails...

cheers, fy


Comments

Popular posts from this blog

How do you change vbulletin's home page to the forums instead of the default (CMS or Activity Stream)? -

c++ - Troubles when compiling phash program -