1. Fabrik 3.9 has been released. If you have updated Joomla to 3.9, this is a required update.
    Dismiss Notice

Display child list when new data added to a parent list

Discussion in 'Community' started by amitfalana, Dec 3, 2019.

  1. amitfalana

    amitfalana Member

    Level: Community
    I am working on a project where I am have a parent list joined to a few child lists; and I have displayed the list using a user menu. The parent has a 1-to-Many relation with the child.
    When I click on the Add link on top of the parent list, I see fields from the parent table and all the child table to add data.
    I instead want to see the child list and not the child form. i.e. The user must be able to Add each child and view the list there and then.

    Thanks for your continued support.

  2. cheesegrits

    cheesegrits Support Gopher Staff Member

    Level: Community
    Not sure what you mean. If you have multiple child lists, how would you know which one to display when the Add button is pressed?

    -- hugh
  3. amitfalana

    amitfalana Member

    Level: Community
    Hi Hugh,
    I want the child lists to have the child to appear as in your tutorial:
    Assume that the Parent and Student as in the video are child tables of a parent table. If this is still not clear, I will try and draw something!

    Thanks again!

  4. martha

    martha New Member

    Level: Community
    Can you please attach images of what you are trying to explain?
    jackspa likes this.
  5. amitfalana

    amitfalana Member

    Level: Community
    I am trying to to Add data to a parent table and it's corresponding child tables. And when a user starts adding data to the parent table, I want to show a child tables with their respective data, instead of a long form.

    To provide an example, consider the following case:
    * There is a parent table called "School_Interaction"
    * With 2 Child tables
    ** Child Table # 1: Parents
    ** Child Table # 2: Students
    And for 1 School Interaction row, there can be multiple Parents and multiple Students.

    Now when I create an entry for the "School_Interaction" table, I currently see a long form (or multi-page form). I rather want it to look like in the attached image, i.e. when data is added to "School_Interaction" table, a page similar to the attached image comes up, instead of a long form.

    Hope this clarifies.

    Thanks in advance for your support.


    Attached Files:

Share This Page