[SOLVED] Permission won't work

Hi, I tried putting a permission to a child’s table field to show only when the master’s table’s requisition type turn to “Loan Item” but it just hides the field forever.

Here’s the permission I encoded:

eval:doc.material_request_type=='Loan Item'

It would be a very big help if you can help us with this :smiley:

@kelscey90 can you please show with screenshot where did you add this permission snippet?

@kelscey90, use eval:cur_frm.doc.material_request_type=='Loan Item'

1 Like

Wow thanks!!! @max_morais_dmm.

@ramielian already been solved. Thanks though!