Context binding with dropdownbykey
I am programming my first little application and would like to use the dropdownbyindex or dropdownbykey field.
The programm is writing some data to the database. For this the context of the fields is binded to a context that is based upon the database structure.
Without using the dropdown fields everything is working fine.
When I now want to use the dropdown field I have the "problem" that I think that I should bind the context to node that supplies the options/choices for the dropdown field. But how can I bind this dropdown field to the context that I want to write to the database also? Or can I only bind to the context with the options and have to read the choice and put it in the context to save while saving the record?
Hoping not to write to confused,