I have a custom database table created with my component that has a user id linked by foreign key to #__users
and I have a form field type in Joomla 3.x mvc
<field name="modified_user_id"
type="user"
label="JGLOBAL_FIELD_MODIFIED_BY_LABEL"
desc="Assign delivery to user" />
How to retrieve and insert the user id of the selected user in my database table using the MVC architecture, including all data bindings?