AnsweredAssumed Answered

Lookup field based on other lookup field (in list form)

Question asked by diogo.nobrega on Aug 27, 2015
Latest reply on Aug 27, 2015 by Jon_Israel

Hello everyone,

 

I think this is a simple issue, but I'm not getting the hang of it. I'm editing list_in.htmpl, and I'm wanting to link two contact fields (customer and assignee) in a search by a same common attribute. It would work this way: if I select some contact for customer field, I would like to restrict the lookup of assignee based on customer's workshift (for example).

 

I think this can be solvable by some extraURL attribute on lookup field for assignee, and this URL would came from customer field. The question is: how to get the customer field value and place it on extraURL attribute of lookupField? Using some JavaScript code, maybe?

Outcomes