Active Field Custome lable with embed error message

Hello,

i have problem with active field label. now when error message return, i want to embed it with label tag.

Example

<label class="" data-error="error-message-return">Username</label

that data-error contain error message.

thank,

Custmonize your active field template here you have doc:

http://www.yiiframework.com/doc-2.0/yii-bootstrap-activefield.html

Or you can move your error message with jQuery to desired plac.