![]() |
|
Button options on modal window - Printable Version +- Atozed Forums (https://www.atozed.com/forums) +-- Forum: Atozed Software (https://www.atozed.com/forums/forum-1.html) +--- Forum: IntraWeb (https://www.atozed.com/forums/forum-3.html) +---- Forum: English (https://www.atozed.com/forums/forum-16.html) +----- Forum: IntraWeb General Discussion (https://www.atozed.com/forums/forum-4.html) +----- Thread: Button options on modal window (/thread-5491.html) |
Button options on modal window - Blanca80 - 10-20-2025 Hello, I would like to know which options can be set on a button of a window modal, because i need to show one of the buttons disabled. For example the 'noclose' option can be set to remain the modal after press the button I would also ask if it's possible to show the locker after press the button on the modal window and the event is launched on the server. RE: Button options on modal window - Alexandre Machado - 10-22-2025 Currently there is no option to disable it. It's easy to disable it via JavaScript though: IW.$('iw-dlg-btn2').disabled = true; each button is named "iw-dlg-btn" + the position of the button, from left to right, the first is 1. The code above would disable the second button in the dialog. Does it solve your problem? RE: Button options on modal window - Blanca80 - 10-22-2025 (10-22-2025, 06:56 AM)Alexandre Machado Wrote: Currently there is no option to disable it. It's easy to disable it via JavaScript though: Hello Alexandre, thank you for the answer. I've solved it by editing the buttons before showing the modal, therefore, the option is generated when proceed. Our main problem now is that there is no way to show the locker when clicking on a modal and a process is launched until it finishes. Or it is? thank you very much. RE: Button options on modal window - Alexandre Machado - 10-23-2025 Let me see if I can put together an example. Cheers |