Dynamic Form From Database

Hello, I’ve managed to create a Dynamic form using TbWizard from YiiBooster using the results from a database query, but there are some things I haven’t managed to solve.

I must create a CFormModel with dynamic attributes based on the results of the query, so far, I’ve manage to detect the different fields as attributes (noticed by the required asterisk) but I can’t manage to validate the different forms that make up the wizard or keep the form persistent after submit.

I’d be grateful if any of you could help me.

P.S: If you need any of my code, then I’d be glad to reply