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');
How useful was this discussion?
Click on a star to rate it!
Average rating / 5. Vote count:
We are sorry that this post was not useful for you!
Let us improve this post!
Thanks for your feedback!