Skip to main content
Inspiring
Dec 2, 2021 3:58 AM UTC
Question

Issue with hiding tabs in milestone

Hi,

I have an expression rule. Please refer to the below screen

I have designed a horizontal milestone inside an interface and calling the above expression at  local!steps.

When I run the interface, I was able to see proper tabs (Main Employee Form & Review).

But, the Issue is when I navigate to "Review" tab, it was showing hidden tabs layout also.

Any one is having any idea, how can I avoid this issue.

I would like to show only the screens which are visible during load. I don't to see hidden tab screen details in the "review" tab.

5 replies

arunkumarc0003
Participating Frequently
Dec 2, 2021 6:02 AM UTC

Hello, You can control the section using show when according to your tab selection. save some flag while clicking the milestone tab use that flag into show when.

stefanhelzle0001
Brainy
Dec 2, 2021 7:21 AM UTC

The multiple conditions in line 30 might be wrong. You check whether the step is 1 or 2. As you only have two steps, it will always show up.

Inspiring
Dec 3, 2021 12:10 AM UTC

Initially when the form loaded it was showing the tabs/menu items properly as expected.

But, when I reach to "Review" tab, it was showing the hided tab screen (In my case "Address" section).

Not sure where I can control "Review" tab.

Inspiring
Dec 3, 2021 5:38 AM UTC

change the conditions at showwhen parameter as  stefanh0002 said