Hi @RandyHayes ,
Thanks for the quick turn around, I have the following formulas associated to the fields either being hidden or shown.
DataCard 1_2 is a single line text box which has a number from 1-10 entered into it. Depending the number, this will show the relevant product lines.
For example, if 2 is entered into datacard 1_2, 2 product line (name, cost, brand etc) will appear. Also in the product line there is a toggle switch for extras. If turned on, this will reveal another field for the user to enter more details.
The screen On visible is: UpdateContext({vQty:Value(DataCardValue1_2.Text)})
DataCard1_2, the OnChange for this is: UpdateContext({vQty:Value(DataCardValue1_2.Text)})
The default for 1_2 is Parent.Default.
Each product line field, the visible setting is "vQty>0", this includes the toggle switch on each product line. The value increases every product line i.e "vQty>1, vQty>2 .... and so on. This part works.
The visible setting of the field which is either hidden or shown is set to:
vQty>0 && If(DataCardValue5_2.Value = true, true) - 5_2 is the toggle switch
If you need anything further please let me know.
Thanks for helping