I want my button to be enabled after my checkbox value is selected.
For this I have written screen action to refresh button widget setting its enabled to the boolean value from check box
My screen action looks like this
My problem is that once the ajax refresh happens this screen action is executed again with the boolean now set to false.
As a result the button is enabled for a sec and is disabled again.
Please assist. I cannot understand why this action is executed multiple times
Actually on the checkbox you are double clicking that`s why your action is calling 2 times.
There are two solutions:
1. Click single time on checkbox
2. Write some jqury script to disable double click event on checkbox.
I can't reproduce your situation so I will tell you what I did (it's working :) ):
I've attached the oml so you can inspect the code.
Thomas Robinson wrote:
Thanks for the feedback.
I am still struggling to make it work .
Shall try some other way and let you know .
I am guessing it may be problem of your mouse at the time of single click it is clicking twice(double click).
Please check with some other system because at my side there are no issue.
Sahshi kant Shukla wrote:
Thanks for the feedback .
I'll check and let you know.