I am just about to dive in to port one of our detail forms and wanted to see if there were any suggestions or existing extensions that might assist before I craft completely by hand.
form will look something like this:
$mortgage->details…
foreach($mortgage->applicants as $applicant){
$applicant->info…
foreach($applicant->previous_employers as $previous_employers)
$previous_employers->details....
foreach($applicant->assets as $asset)
$asset->details....
foreach($applicant->liabilities as $liability)
$liability->details....
}
I will need the ability to add or remove applicants from $mortgage (and therefore form). There are also things like addresses for applicants. So it becomes a fairly large form with multiple models and relationship types. Are there any existing extensions or classes I should be reviewing. So far I have been playing with CActiveForm. Is that the best place to be?
Hope you don’t mind me asking but you guys have a lot of great stuff and I don’t want to spend a bunch of time re-inventing the wheel if I don’t have to.
Thanks.
Mike