Ajax validation for a form build without using activeform

Hello; I try to use active form to generate my form but it wrapping the form with many divs and putting some bootstrap classes that are consumming my space. So I would like to build my form on my own but I would like to know how can my form benefit from ajax and javascript validation of Yii 2 framework.

If there is any way to remove those wrappers I can like to use ActiveForm then.

Please help

If you need to remove everything from ActiveForm layout and you don’t need special effect during validations, I think that you could write plain html, using <form> tag.