# Vision Window Not Responding Correctly

**URL:** <https://forum.inductiveautomation.com/t/vision-window-not-responding-correctly/41923>\
**Category:** Ignition\
**Tags:** ignition79, ignition80\
**Created:** [January 4, 2021, 1:05pm UTC](https://forum.inductiveautomation.com/t/vision-window-not-responding-correctly/41923 "2021-01-04T13:05:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kaushik.shah](https://avatars.discourse-cdn.com/v4/letter/k/34f0e0/32.png) [@kaushik.shah](https://forum.inductiveautomation.com/u/kaushik.shah)\
**Post date:** [January 4, 2021, 1:05pm UTC](https://forum.inductiveautomation.com/t/vision-window-not-responding-correctly/41923/1 "2021-01-04T13:05:58Z")

</div>

I have Vision window with some script on internalFrameActivated.

as seen below, if the action parameter is set to create, I want to wipe everything off the fields whereas if the action parameter is Edit, I want to show the values without being able to change them.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/6/c/6c9e06a0d7d2943cec166c50fc91a1b4a1c56f18.png)  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/a/6/a66150c3a1ad628cafab802604fe36cc89fa760b.png)

This works fine only after I update screen or open window for the first time, otherwise, I don’t see values on all the fields.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/0/6/06bd19ca00e4d56bd709b330397eebc55f8ceca5.png)

Any Idea ?

thanks so much in advance

---

<div class="post-metadata">

**Author:** ![bschroeder](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bschroeder/32/13260_2.png) [@bschroeder](https://forum.inductiveautomation.com/u/bschroeder)\
**Post date:** [January 4, 2021, 1:40pm UTC](https://forum.inductiveautomation.com/t/vision-window-not-responding-correctly/41923/2 "2021-01-04T13:40:58Z")

</div>

What is your cache policy set for on the window? Maybe try turning it off and see if that helps.

---

<div class="post-metadata">

**Author:** ![bkarabinchak.psi](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bkarabinchak.psi/32/83567_2.png) [@bkarabinchak.psi](https://forum.inductiveautomation.com/u/bkarabinchak.psi)\
**Post date:** [January 4, 2021, 1:45pm UTC](https://forum.inductiveautomation.com/t/vision-window-not-responding-correctly/41923/3 "2021-01-04T13:45:03Z")

</div>

Yes, if you are doing anything with internalFrameActivated I highly recommend you set your cache settings to Never on the window.
