dhtmlxform and select

After saving form(without reloading page), closing dhtmlxwindow and opening new, all selects are emtpy.
select should get data from db but its working only once.

i removed selects and it still not working. i cant insert more than 1 row without refreshing page.

my bad :slight_smile:
i overrided onClose event, so i didnt close windows :slight_smile:
you should add onBeforeClose event, i had to look into source of original function and add this to my function :slight_smile:

If you need to reset form, you can call

      form.clear();

as result it will be in insert mode again