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...
autonumber Posted January 4 Report Share Posted January 4 Hi! Just to update this post, you may also refer to this forum post: Quote Link to comment Share on other sites More sharing options...
Queso Posted January 9 Report Share Posted January 9 Hi, you can also refer to this another Caspio forum post if you want to disable the button based on a field value: 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.