Bidirectional Combobox in Form

I have a form to add a new entry to a table
Inside the form I have a combobox populated from another table
The form has a foreign key referencing this table
Upon entering a new value to this combobox, how can I save it to the appropriate table then reference it in the insertion for the form?

Hi,

Combo doesn’t provide a full solution for the above use-case
When entering a new value, the form will provide two parameters - the text of new option and flag that inform that it is a new option.

docs.dhtmlx.com/combo__integrat … m_tag.html