It is possible to open an input form in java script. The form does not need to be from the same table as you are in and you can prefill values from current record.

The usage is pretty wide. You can prefill records in a table based on currently selected record. Even records from another table.

You can use one of the functions in the doo.form namespace to manipulate with form object:


  • async openForm(tableNameOrId, options, applicationId)
    It opens an input form for the table (use table name or id).
    options and applicationId are optional
    You can use options to prefill the form
    model: {
       name: 'Peter',
       position: doo.model.<Prepostion [preposition]>.value