Role21 Posted July 21, 2019 Report Share Posted July 21, 2019 Hello, I have a custom button on my Report datapage. I want it to be hidden/shown if a certain condition is met. For example, if Active checkbox is checked, then the button should be hidden. How will I do that? Thanks. Quote Link to comment Share on other sites More sharing options...
JolliBeng Posted July 21, 2019 Report Share Posted July 21, 2019 Hi @Role21, This can be done using custom script. <script> if ('[@field:Active]' == 'Yes') { $('.check-[@field:ID]').hide(); } </script> Just change the .check-[@field:ID] to the class name of your button and ID. -JolliBeng Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.