Container inside a Container

naam
Giga Contributor

I have Select Box in the beginning that has Option A and Option B.

I have created Container A and Container B; Container A is for option A and Container B is for option B.
I have container C in middle of variables in container B.

I have used a UI Policy:

* Option A selected, Container A Visible, Reverse if false 'True'.

* Option B selected, Container B Visible, Reverse if false 'True'.

So the problem is,

At the beginning, before any selection for option,   everything below the container C (container start) keeps appearing.

And it won't go away no matter what option i select.

I can use UI policy to make it go away, but it again messes up other logic like making mandatory inside other containers.

For example, when Option A selected, i won't be able to submit a request because a variable in Option B is mandatory.
Or some un-required fields keeps showing up.

It's hectic applying alot of UI policies.

Is there not a simple solution to keep unwanted variables from appearing and being mandatory?

Please help me with a good solution. and don't just answer with a very basic information-link.

Thank You in Advance.

2 REPLIES 2

march
Kilo Guru

Can you please add a printscreen of your variable for better understanding, i must admit that i don't get what you are asking for.



Marcus


naam
Giga Contributor

I have about 100 variables and   4 options and 6 containers. I believe a print screen might make it more hard to understand.
I just created a simple scenario of what is happening for better understanding.
My main concern here is this part:


"At the beginning, before any selection for option,   everything below the container C (container start) keeps appearing.


And it won't go away no matter what option i select."