Skip to main content
Topic: Using a coloumn value from main page to autofill in a modal. (Read 1544 times) previous topic - next topic

Using a coloumn value from main page to autofill in a modal.

I would like to autofill in an ID field with the corresponding ID from the mainpage.

Example:
Table1:
ID_table1,  field1, field2

Table2:
ID_table2, FK_ID_table1, field2

Now a list view of table2 is added to the view of table1.
When pressing the button to add a new entry into table2 i would like to autofill in "FK_ID_table2" with the main page value for "ID_table1"