How to disable the ui action button once it get submitted?

DINESH CHINNAD1
Giga Expert

My requirement is,

If state = "Closed", I have to show the UI Action "Re-open" button. Once the user clicks the "Re-open" button i need hide that. Because only once i need to show reopen button visible to user. The second time it should hidden.

Only once i need that Reopen button avialable the second it should be hidden

Thanks in Advance,

Thanks and Regards,

Dinesh Chinnadurai

1 ACCEPTED SOLUTION

In that case you should use a flag. Flag will nothing but just a field on your table that will not be on your form. Make it true by default and make it false once the reopen is clicked.



And the condition on reopen becomes



current.state== 'state value when it should be visible'   && current.flag=='true'


-Anurag

View solution in original post

11 REPLIES 11

Hi Harish Murikinati




I need the hide the Re-open button, because once the user clicks that Reopen button i need to hide the button.


Because Reopen is possible only once


Try this below one


current.re_open_count >= 1


Anurag Tripathi
Mega Patron
Mega Patron

You can add condition on state



current.state= 'state value when it should be visible'     // add or conditions to make it visible on multiple state values


-Anurag

Hi Anurag Tripathi



I need the hide the Re-open button, because once the user clicks that Reopen button i need to hide the button.


Because Reopen is possible only once



In that case you should use a flag. Flag will nothing but just a field on your table that will not be on your form. Make it true by default and make it false once the reopen is clicked.



And the condition on reopen becomes



current.state== 'state value when it should be visible'   && current.flag=='true'


-Anurag