Ignition Perspective - run script on page refresh

Where can I put code to clear text fields when user refreshes page?

Thanks.

You can use the onStartup event on the view components.

I have tried several iterations and it does not handle it. I have a Main Menu View page that it defaults to on a refresh and when the user clicks the button to navigate to the next View, it does not actuate the “onStartup” code. If I start the webpage new, it works correctly, but does not act the same on page refresh.

Hello, Do you have find a solution for this ?
Thanks

1 Like

Hello, Do you have find a solution for this ?
Thanks

Hey David/anthony/victor,

Did you get any solution related to refresh button?

Thank you