Does anyone know, is there any way of getting list of required/error fields on client side dynamically without ajax? I want to make block like "This fields are left to fill: phone, email, …" and refresh it during form filling.
As addition, I want to manage submit button programmatically and activate it only if all fields are filled correctly.
Maybe, you can suggest some way to extend jQuery.yiiactiveform.js to do this feature?
No, it’s server method of CActiveForm and it shows only a list of error messages after submit or after ajax-request, but i need determine on client side which fields are already filled correctly and which ones not. I want to display form filling progress and list of fields, that has not filled by user.
Thanks, this variant is closest to truth. But it return only error messages (text), not field list. Apparently, i should extend activeform.js in some way…