![]() |
|
button confirm - Printable Version +- LogicMachine Forum (https://forum.logicmachine.net) +-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1) +--- Forum: Visu (https://forum.logicmachine.net/forumdisplay.php?fid=24) +--- Thread: button confirm (/showthread.php?tid=6447) |
button confirm - dezza@sdme.it - 01.06.2026 Hello, is it possible to validate an action like this with a button? <script> if (confirm("Do you want to continue?")) { document.write("yes") } else { document.write("no") }; </script> Thank you RE: button confirm - admin - 01.06.2026 What task do you have exactly? RE: button confirm - dezza@sdme.it - 02.06.2026 (Yesterday, 13:07)admin Wrote: What task do you have exactly? ask for confirmation of the operation I am going to do if I answer yes RE: button confirm - admin - 02.06.2026 Ok, but what action do you want to perform? Change group address, show a different plan or open some link? Is it something that can already be done using an existing widget (which?) or do you need something fully custom? RE: button confirm - dezza@sdme.it - 02.06.2026 (10 hours ago)admin Wrote: Ok, but what action do you want to perform? Change group address, show a different plan or open some link? Is it something that can already be done using an existing widget (which?) or do you need something fully custom? Simply, from a virtual button with a script, I'd like an alert that authorizes its execution. For example, if you leave the house, it responds, "Are you sure?" Yes, I execute the command; no, I cancel the command. RE: button confirm - Daniel - 02.06.2026 A out of the box option(no the same) is PIN protection. |