J
jsniemi79
Guest
Meryem, The rbf_setLookupFilter is what you would use to accomplish what you are trying to do. I haven't done it with multiple fields, so I can't say for sure, but I don't see why it wouldn't work. One thing to note, lookupA coulld be a picklist or selector, but lookupB and LookupC must be selectors for this to work. That is a requirement of the setLookupFilter api. You would need to add a script component to your page that contains a function with the logic you listed above, using the setLookupFilter api. Then, add a call to the page load to call that function and pass in the appropriate value if it is already populated (Edit Page). You would also need to go into the events for the LookupA and LookupB and make a call to the function on change and pass in their value. Something like "setLinkLookups(this.value);" Does that help answer your question?
Continue reading...
Continue reading...