Hi Martin, i have little question. How can i block more fields like ID field(readonly)? In edit mode of course.
The only (and dirty) way: change the mte.php:
If you want to make field 'email' readonly, add " || $key == 'email' " at line 560:
if ($key == $this->primary_key || $key == 'email' ) { $style = "style='background:#ccc'"; $readonly = 'readonly'; }
What is the best approach to make every field readable?
Log in to post a comment.
Hi Martin, i have little question.
How can i block more fields like ID field(readonly)? In edit mode of course.
The only (and dirty) way: change the mte.php:
If you want to make field 'email' readonly, add " || $key == 'email' " at line 560:
Last edit: Martin 2017-10-16
What is the best approach to make every field readable?