Save multiselect options to db

Hi

I have a form with a multiselect item. Options loaded from db with connector.
Then I add an option to the multiselect item.

How to save this option to db?

Sincerely Tanja

Hi

when in form - connector used only to load options from db, to save (i.e. add new option) you need to add custom script. for example, after adding option to list, call:

dhx4.ajax.post("server.php", encodeURIComponent("action=addOption&value=123&text=new option"), function(r){... calback});

and on server:

<?php mysql_query("INSERT INTO options ..."); ?>

Thanks This Works