I am a medical doctor and data science student. I am developing an app to which creates a research data of the patient ( anonymous ) . In this I have a layout structure that has a table ( inside a beta_expander) and below that I have three columns with forms to fill data.
When the forms is submitted the table has to update by adding new rows.
The code which allocates the page layout, the one that displays the form and the one that handles the submission are in different modules.
So, when I handle the submission of the form on how can I refer to the table in another module to that I can call the add_rows() on the table to append the rows with new data ?