• Resolved arturocivit

    (@arturocivit)


    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

    (@keraweb)

    Hi @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/

    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

    (@arturocivit)

    Hi @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.