Posted by Oscar
2015-11-12

Dear: Tom
I have 6 Column in Edit Option and I need to disable the Keyboard in 3 of then, How can I Do that.
-------------------------------------------------------------------------------------
but is deleting the data when I summit the new Data using this code
ZB_ATTR, array( "disabled"=>"disabled" )
do you have something without losing the Data.
Posted by Tom
2015-11-18

Hi,
You can disable saving a particular field. In the following example, I'll show you how to disable saving the "first_name" field. Open web/staff/app/cls_ps_(table-name).inc.php and find the following line:
case 'edit_done':
Insert the following line after.
$this->fs_edit_save .= ",-first_name";
The result should look like:
case 'edit_done':
$this->fs_edit_save .= ",-first_name";
Similarly if you want to disable saving "last_name" also, add this line:
$this->fs_edit_save .= ",-last_name";
The result should look like:
case 'edit_done':
$this->fs_edit_save .= ",-first_name";
$this->fs_edit_save .= ",-last_name";