cancel
Showing results for 
Search instead for 
Did you mean: 

Disable Blox button once pressed

francoisvv
9 - Travel Pro
9 - Travel Pro

Does anyone perhaps know if it is possible to grey out or disable or change color of a blox button once it is pressed.  We created a comment log where users can query certain data and submit that to an external sheet, however we don't want them to re-submit the same record twice, so ideally we would want to grey out or disable or change the color of the button to indicate that it was already submitted.  

When pressed, after the next build, the record will be moved to a "comments" widget and removed from the initial sheet, however this will only happen after a build, so during review, we want to at least indicate toe the reviewer that a specific record was already submitted.  Any advice on how we can achieve this?

1 ACCEPTED SOLUTION

ILLIA
Sisense Team Member
Sisense Team Member

Hello @francoisvv 
Please find dashboard example attached, it contains BloX widget with the button and widget script that disables button on click.

Best regards,

ILLIA

View solution in original post

6 REPLIES 6

DRay
Community Team Leader
Community Team Leader

Hi @francoisvv.

Thank you for your question. You should be able to do this with a script. There are several posts here in the forums for various buttons and toggles. You should be able to use a simple on-click event also. If needed, we can get you in touch with a developer resource to assist you.

David Raynor (DRay)

jcordell
Community Team Member
Community Team Member

Hello @Mfrance 

I wanted to follow up to see if the solution offered by @DRay  worked for you.

If so, please click the 'Accept as Solution' button so other users with the same questions can find the answer faster. If not, please let us know so that we can continue to help.

Thank you.

 

Jacqueline Pacheco

francoisvv
9 - Travel Pro
9 - Travel Pro

Hi @jcordell, the solution suggested is not exactly what I needed so still working on finding a workable solution.

DRay
Community Team Leader
Community Team Leader

Hi @francoisvv,

I am reaching out internally to try and find a solution for you. If you like, we can work to get a technical resource to work with you directly.

David Raynor (DRay)

ILLIA
Sisense Team Member
Sisense Team Member

Hello @francoisvv 
Please find dashboard example attached, it contains BloX widget with the button and widget script that disables button on click.

Best regards,

ILLIA

francoisvv
9 - Travel Pro
9 - Travel Pro

This worked brilliantly!  Thanks a million!!!