tghounsell
Member
I have tables of data with a Company field. Tables are pre-filtered using a value stored in a user field. Now, when a form includes a datajoin element, I want to filter the list to display only rows that match the company value.
I was able to do this successfully for drop down fields, but I'm having some difficulty doing it for dat joins. I assume I should be adding some php to the default field and setting the Eval Default to yes, but when I do that, it seems to get ignored. Also, I'm not sure whether the result should be an array, and whether it needs both an id and label field or what?
I was able to do this successfully for drop down fields, but I'm having some difficulty doing it for dat joins. I assume I should be adding some php to the default field and setting the Eval Default to yes, but when I do that, it seems to get ignored. Also, I'm not sure whether the result should be an array, and whether it needs both an id and label field or what?