Hello,
Now I use the standard:
——————-
$col = array();
$col["title"] = ("<i class="fa fa-key"> Passwort");
$col ["name"] = ("columnpassword");
$col["editable"] = true ;
$col["editoptions"] = array("size"=>20, "defaultValue"=>'myfixpassword');
$cols[] = $col;
——————-
But I like to save the default value from another column, something like:
——————-
..
$col["editoptions"] = array("size"=>20, "defaultValue"=>'{codefromthercolumn}');
..
——————-
or within the..
$g->select_command =
"
select md5(codefromthercolumn) codefromthercolumn from mytable
"
——————-
How is this possible? Thanx!
Hello,
Please refer:
https://www.gridphp.com/support/questions/md5-passwords-on-grid/
https://www.gridphp.com/support/questions/edit-password/
If you want to display md5 password field, then you can use md5 function in sql.