Posted: 5 Dec 2017 21:43 EST Last activity: 6 Dec 2017 13:14 EST
How to disable a text from popup window
I have requirement like I've a section where i have kept a text "Click", clicking on it will open a popup window where i have kept a button close,here I want when that close button is clicked on popup window should be closed and that text "Click" from previous section should be disabled as well.
***Edited by moderator, Maryrita: moved to Procduct Support from Applications***
Add onclick Event and action as Local Action. Configure the required local action details for the Popup Window. In the Popup Window section place a button(Close) and onclick Event Set one DisableClickfalg(Use Datatransform). Use this DisableClickfalg to disable the Click text.
Posted: 3 years ago
Posted: 5 Dec 2017 22:56 EST
Rachit Agarwal (Rachit_Agarwal)
Senior Technical Solutions Engineer
What I would suggest is to have two sections -one would a disabled button and another one without a disabled button. On click of submit in a popup window, you can use an event click - local action(replace current), and replace a section(one which has an enabled button with the one which has a disabled button).
Disabling only the text would not help, as text is just a part of the button, you would still be able to click sideways of a button.