Hello all, I am facing an issue regarding button visibility on my traditional web application.
As you can see on this screenshot, the button Update Status is visible, even though it not supposed to be invisible. Inside 'visible' settings within service studio, I have put a condition when tab is under rejected, Update Status button should be invisible. That same condition also applies to Explanation input box above the button, difference is input should be disabled instead of making the input box invisible. I have tried every possible means to make the button invisible but none works, despite both Explanation input box and Update Status button having the same condition.
This is the condition for Explanation input box (under Enabled)
This is the condition for Update Status button (under Visible)
As you can see both have the same condition yet produce different results. Does anyone have similar case to this?
Thanks.
Have u refreshed the button?
Some kind of this widget if i am not mistaken, give you button a name so it has an ID if i am not mistaken :
Thanks ibox,
It's a silly mistake of which I forgot to refresh the button, now it works just fine.
Hi,
You are adding the visible condition on the link try adding on the button.Also you can go for a local variable which be Boolean and make that false on the click.Use that variable in the visible condition.
If possible please share the OML.
Thanks
Hi ,
That would be great if you share sample oml file. So that we can check and help you out.
Thanks,
Ajit Kurane.
In addition to above answers you can take hint from below discussion. There are many ways to hide and visible based on condtions.
https://www.outsystems.com/forums/discussion/86220/how-to-change-the-visibility-of-a-button-after-the-list-is-empty/
Hope it helps you.