on 09-12-2014 10:13 AM
Can you directly use a context variable in a script to compare with or do you always have to copy the data field onto the form?
Specific case:
I want to use the repeat indicator in HEAD_DETAIL of the INVOICE_INTERFACE to show or hide a text field (in a subform obviously).
Hello Koenraad,
You can use the context variable in the script only when the field has appeared in the Hierarchy tab of Form Layout.
Background: After creating a new variable or using an existing variable in the context node, first the DATA VIEW tab of the layout gets updated. So when you open the layout and click on the DATA VIEW tab, you will be able to see this variable. Then you need to drag this variable from DATA VIEW tab into the Body Page or Master page. When you do this step, the variable comes under Hierarchy tab. Now you can place this variable in a sub form and when you write the script on the sub form you will be able to access the value of this variable.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.