Title: Help with relationships
Last modified: March 21, 2023

---

# Help with relationships

 *  Resolved [arturocivit](https://wordpress.org/support/users/arturocivit/)
 * (@arturocivit)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/help-with-relationships-3/)
 * Hi everybody, I’m trying to understand the relationships but can’t find a specific
   step by step example that goes along with what I need, so maybe describing what
   I want to do is a way to find similar experiences, so here I go,
 * I need 4 categories, Academies, Teachers, Countries, and Cities. I have the last
   2 ready and filled with countries and cities but I need to create a relation 
   between those 2, so if I select as country USA, then my cities are US-related
   cities only, if I select Argentina, then, Argentinian cities only are displayed,
   I’d like to do this by using a select for both elements, one for countries and
   the results in another select that auto populates based in the previous selection.
   Then, once those 2 variables are selected I can check academies and teachers 
   in that country and city.
 * Another way to go is to ask the user what they want to check, if academies or
   teachers, they select one, and then the country selector appears and then the
   city selector as described in the previous paragraph.
 * In the backend area, I should be able to select what do I want to add, countries
   or cities, teachers or academies, but if I want to add academies or teachers 
   I need the ability to once I start filling this information select which country/
   city they belong.
 * Is this something that is possible with Pods?
 * Thanks guys!

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Jory Hogeveen](https://wordpress.org/support/users/keraweb/)
 * (@keraweb)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/help-with-relationships-3/#post-16587425)
 * Hi [@arturocivit](https://wordpress.org/support/users/arturocivit/)
 * I did read your question real quick and yes you can do this.. to some extend.
   You can create relationships between countries and cities but regarding the form
   Pods will not handle the auto-population of the cities based on your country 
   selection. That part is up to you to make 😉 either custom of with a different
   plugin if there is one that matches your needs.
 * > Another way to go is to ask the user what they want to check, if academies 
   > or teachers, they select one, and then the country selector appears and then
   > the city selector as described in the previous paragraph.
 * You are talking about conditional logic. This is planned for Pods 3.0.
   However,
   if this should be done on the front-end then please check plugins like Gravity
   Forms.
 * Due to the generic nature of your question I’m forwarding you to this page: [https://docs.pods.io/faqs/what-can-you-build-with-pods/](https://docs.pods.io/faqs/what-can-you-build-with-pods/)
 * It points to our videos and some extra info on what Pods is and what you can 
   expect from the plugin.
 * Cheers, Jory
 *  Thread Starter [arturocivit](https://wordpress.org/support/users/arturocivit/)
 * (@arturocivit)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/help-with-relationships-3/#post-16588374)
 * Hi [@keraweb](https://wordpress.org/support/users/keraweb/) thanks so much for
   the clarifications, going to start reading and digging into all things you mentioned,
   thanks so much!
 * Arturo

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Help with relationships’ is closed to new replies.

 * ![](https://ps.w.org/pods/assets/icon.svg?rev=3286397)
 * [Pods - Custom Content Types and Fields](https://wordpress.org/plugins/pods/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pods/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pods/)
 * [Active Topics](https://wordpress.org/support/plugin/pods/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pods/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pods/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [arturocivit](https://wordpress.org/support/users/arturocivit/)
 * Last activity: [3 years, 2 months ago](https://wordpress.org/support/topic/help-with-relationships-3/#post-16588374)
 * Status: resolved