Awesome extension but how with form builder?

I am talking about this extension:

and here is the git link:

Notice that this is an input widget which REQUIRES the CActiveForm object BEFORE rendering.

On the other hand when you set the configuration of the form builder the CActiveForm model is not yet instanciated! So how to pass it as parameter? you don’t and when you have $form->render() you get an exception thrown!

My current workaround: Create a class that extends CForm. Overload render() method and between renderBegin() and renderBody() set to the configuration of the element to pass it the CActiveForm object as it requires.

I think it is a dummy workaround and will have many problems in cases of multiple nested forms etc.

Could you please share a more robust solution? :)

Thank you!