Hello. Imagine you are in the add/edit pop up form. The form has one field of type select and for example three more fields of type text. Is possible to capture the event when the user select a value in the select field in order to asign the others fields a custom value?.
Thanks!!.
Montemaggiore, Sebastián.
Refer demos/dropdown/dropdown-callback.php. It loads values from sql query to the textboxes on change event.
Alternate, you can bind onchange javascript event too.
$col["editoptions"]["onchange"] = "fx(this)";
Hello. "Demos/dropdown/dropdown-callback.php" does not appear in the library you sent me.
Thanks.
Demo: http://phpgrid.org/demo/demos/appearence/dropdown-callback.php
Code: http://phpgrid.org/demo/demos/appearence/dropdown-callback.phps
Select row and edit using dialog, and try changing dropdown value.
It will load rest fields.