I have a search form where user may search by one or a combo of these
Alias Last Name
Alias First Name
First of all, how do I set up the fields in _form to return an array
to the controller?
Secondly, how do I access the array in the controller and generate an
appropriate "find" statement based on what array elements were passed
As it stands now, I'm setting each parameter to a variable and then in
a giant "if" statement constructing the "find" statement. This worked
ok with just name and case number to search for. Now that I've added
alias to the mix, this is turning into some majorly UGLY code. Too
many possible combinations!
Any thoughts/suggestions/ideas are welcomed and appreciated.
Thank you!! ~Ali