I send example how to use openForm. information in consoli says that there are missing fields to create new form see documentation: doo.form - Tabidoo Help Center
I would like to reopen this thread. If I prefill the form with the function above and the prefilled item is a linked table, everything looks correct. The item gets prefilled with the proper values, and it is possible to save this prefilled form. However, the created form loses the prefilled values.
Example to clarify situation: I have the following tables: Customer, Contract, and Invoices.
In the Contract table, there is an item customer (a link to the Customer table) and also a button that calls the script below. This script opens a new form in the Invoice table and prefills the customer item (which is also a link to the Customer table).