Hi,
Default value "Write 100 characters" must work only for add dialog form input field values are null. But I see it when open edit dialog form although related field is not null.
Am I wrong ?
If not , how is it possible to get state of phpgrid in edit or add dialog form during opened. So can be controlled if … then…else…
to prevent default value for field inputs in edit dialog from.
regards…
2 Answers
When you set 'defaultValue', it only applies for add record, and not edit.
$col["editoptions"] = array( "defaultValue"=>'Write 100 characters');
Your Answer