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.
When you set 'defaultValue', it only applies for add record, and not edit.
$col["editoptions"] = array( "defaultValue"=>'Write 100 characters');
We are sorry that this post was not useful for you!
Let us improve this post!
Tell us how we can improve this post?