pre_process has_many form field
Hi,
I have a module with a has_many relationship to another module.
Now I want to restrict the displayed values in the multi box in the create/edit view to a subset of the databasetable content, but the content for the frontend should not be restricted...
So as I understand I cannot use the where condition on the $has_many global variable. I thought of defining a pre_process function call for the form field...
Now my question is what I have to return in that function to overwrite the content of the multi field?
Comments
Got it working