Hello Dashboard Experts,
Is there any way to add a confirmation box to Dashboard which will ask “Are You Sure?” when a user hits a button? I am making a “Reset Control Room” button in Dashboard which will send the correct commands and GPI triggers to reset the switcher, router, multiviewers, etc to a default state. I want to protect this button so people don’t click on it by mistake during a show.
I’m not sure if there’s anything like that, but why don’t you use tabs to hide it in a different tab within your custom layout? So have one tab with all your other buttons, then an “Advanced” tab with the “Reset Control Room” button in it.
#DashBoard
Your best bet is to make a button parameter of type “Prompt Button”. This will cause a confirmation prompt before the task is executed.
You can further customize the prompt by specifying a “configuration attribute” called w.changeprompt
Also of interest, you can add w.changeprompt to a number of parameters to force a confirmation before changing a value… but for what you’re talking about, a “button-prompt” parameter is the correct type.
Do you want to reset everything?
Reset World
Reset World
ogscript.debug("RUN SCRIPT!");
[#DashBoard](https://livinglive.community/search?s=tags%3A%22DashBoard%22&executesearch=true)
Hi, the code snippet above to make this work isn’t showing up for me. Can you repost? Trying to make a similar confirmation prompt.
#DashBoard
Hi Gene.
I do have the original example - it appears that something has happened to the posted code when we updated the Community software.
Here is a similar example that shows how to add a change prompt to a parameter.
Value 1
Value 2
Value 3
Value 4
Value 5
Value 6
Are you sure you want to do this?
[#DashBoard](https://livinglive.community/search?s=tags%3A%22DashBoard%22&executesearch=true)
Thanks James, I see it now!
#DashBoard