1 Reply Latest reply on Jun 23, 2009 2:48 PM by ilssac

    CFLDAP - Conditional Filters Possible?

    dio

      I am building an LDAP contact search form.  The search form provides four possible search criterion: First Name, Last Name, Department and Location.  The idea is that a user can supply any combination of these 4 attributes to search LDAP for a contact match.  Outside of writing an insane CFIF block, is it possible to write a dynamic CFLDAP query?  Where each form attribute passed is dynamically supplied as a fliter within the CFLDAP tag?

       

      I can't seem to find any post on the matter.  Anyone?