# \[IGN-2207\] Is there a way to stop/intercept a Tab Container tab change?

**URL:** <https://forum.inductiveautomation.com/t/ign-2207-is-there-a-way-to-stop-intercept-a-tab-container-tab-change/45214>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [April 2, 2021, 4:11pm UTC](https://forum.inductiveautomation.com/t/ign-2207-is-there-a-way-to-stop-intercept-a-tab-container-tab-change/45214 "2021-04-02T16:11:32Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [April 3, 2021, 1:23pm UTC](https://forum.inductiveautomation.com/t/ign-2207-is-there-a-way-to-stop-intercept-a-tab-container-tab-change/45214/4 "2021-04-03T13:23:26Z")

</div>

There isn’t a way to prevent tab changing as of today, but I have two pieces of good news:

1. Nightly 8.1.5 builds should have a code change which keeps Views running even while in tabs which are not active. You should see this change the behavior you’re experiencing such that your fields will retain their values as you switch tabs.
2. I’ve also opened a feature request to allow for “disabling” tabs via a property of each tab. No ETA on when this feature could be implemented.
3. If/when you take the content in 8.1.5, you could use that new behavior along with logic within a Change Script on the `currentTabIndex` property of the Tab Container to determine when a tab can be changed. Something like this:

```auto
# Use a message handler for each tab's internal view to declare when a form is complete.
complete = self.custom.complete  
if not complete:
    self.props.currentTabIndex = previousValue.value

```

---

_[View the full topic](https://forum.inductiveautomation.com/t/ign-2207-is-there-a-way-to-stop-intercept-a-tab-container-tab-change/45214)._
