Hello, I try found in documentation a method for set connector to insert mode.
I Have a simple form were i set only 2 values like this:
Name: name_1
Age: age_1
Submit
after submit in my grid is show like this:
Name | AGE
name_1 | age_1
After a new submit for same form dont insert new line, but update lastest values.
Name | AGE
name_2 | age_2
My intention is result
Name | AGE
name_1 | age_1
name_2 | age_2
How can after submit ever insert mode?
server side:
require_once(‘…/codebase/connector/form_connector.php’);
$conn = new FormConnector($res);
$conn->render_table(“users”);
client side dataprocessor
var dp = new dataProcessor(“conector_dhtmlx/users.php?action=insert”);
dp.init(myForm);