So I currently have a button on a view I have made, and I also have another view that serves as a warning popup. The idea is that the button the user will press will display data on a power chart; however there are times where that data may no be able to be displayed and that is when I want the warning pop up to occur.
I have already created parameters “HasData” that is true or false depending on whether or not data can be displayed and if it is true I would like no warning pop up to show and if it is false I would like that pop up to show upon the button being clicked. However, how would I do this? I cannot find a way under the “On Click” events that I can write a short script to tell ignition to only display the pop up if the “HasData” Parameter is true. Thank you for any help in advance