How to call a nanoflow when the NewEdit Page is initialized?
0
I want to call a nanoflow when the NewEdit Page is initialized. In this nanoflow, JavaScript is called to set the editability of the page elements, because the elements editability of the current screen is be set by the attributes of other entities in the database. What should I do? such as When A Entity has attribute “RequireValue1” is set to “Not” , B Entity has attribute “Value1”, “Value1” input on B_NewEdit Page must be set to disable. Entity A and B is associated by A-B(1-*).
asked
Liu Dan
1 answers
1
I would try to set the editability of the fields conditionally :
You should be able to access that other entity by association with the $currentObject.