on_item_created with visible=false

Talk about programming tricks and examples

Moderator: alexandrleonenko

administrator
Site Admin
Site Admin
Posts: 6195
Joined: Jan 7th, '09, 23:18
Contact:

Re: on_item_created with visible=false

Postby administrator » Jul 31st, '20, 09:06

Look on this code in datagrid.class.php ~ln. 6880

Code: Select all

if($field_type == 'hidden'){
      /// .....
}else{
   if($req_mode == 'add'  && $fp_default != '') $field_value = $fp_default;
}


Looks like it's a problem. Try to comment it.

Return to “Programming Tricks”