Disabling fields on subform - zoho script isn't working!

Disabling fields on subform - zoho script isn't working!


My subform field is Students

the subform's fields are Student, Status, Type


I want to disable editing Student and Type on Form Edit

So On Edit Code is something like this
  1. disable Students.Student;
  2. disable Student.Type;
I save script with no errors, and the behavior doesn't result as expected.