zoeck Posted February 19, 2018 Share Posted February 19, 2018 Hello, i have one question. I created some templates to manage customers: - customerlist (Parent) -- customer (Child of customerlist)) --- customerlocation (Child of customer) This is working without problems, i can create multiple locations for the customers and also multple custumers... But now i have another Template "projects": - first i have to choose the customer, - then the location (there should be only the locations of the customer) But how can i create this? I know, theres a module for this: But i think this is too much to select the customer location (i just need it for this single field ) I hope somebody can help me Best Regards zoeck Link to comment Share on other sites More sharing options...
dragan Posted February 19, 2018 Share Posted February 19, 2018 (edited) I don't have a similar setup to quickly do tests myself, but... in your projects template, can't you try to use a page-reference field and use a custom/advanced selector for the allowed pages (using PHP code)? Another thing that might work: install the Connect Page Fields module https://modules.processwire.com/modules/connect-page-fields/ Edited February 19, 2018 by dragan suggestion for CPF module added 1 Link to comment Share on other sites More sharing options...
Zeka Posted February 19, 2018 Share Posted February 19, 2018 @zoeck It's doable by two Page reference fields. Take a look at this thread 1 Link to comment Share on other sites More sharing options...
zoeck Posted February 19, 2018 Author Share Posted February 19, 2018 works like a charm, thank you Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now