How to set a value in a select item after it is populated

Hi, I want to know if I can set a select item after it is populated from a database.

Let me explain, I have a form that is populated from a database and I want this form to be able to update the data. I am using a select item to offer the different options to change certain field (this select item is populated from another table in the database) and I want 2 things:

  1. Being able to set the select item accordingly to the correct value from the database.
  2. Update the field in the database with the “value” (not label) field from the select item in the form

Hi

not sure I correctly understood your question
form have setItemValue/getItemValue

you also can read our docs docs.dhtmlx.com/doku.php?id=dhtmlxform:toc