This topic is locked

display different icon

5/12/2020 15:09:23
PHPRunner General questions
L
leteck author

Hi

I want to create a dummy button and put in list page just to show icon and change icon based on a field called status. status could have values of 1,2 or 3 then I want icon1, icon2 or icon3 displayed depending obn status value.
Can someone give me an aproach?

Sergey Kornilov admin 5/13/2020

The easiest option is to create three buttons and hide two of them. I'm sure there are other options but this is what comes to the mind first.

Please delete this account 5/15/2020



The easiest option is to create three buttons and hide two of them. I'm sure there are other options but this is what comes to the mind first.


https://asprunner.com/forums/topic/26963-change-custom-button-color-and-icon-on-the-fly/
... for inspiration purposes only ...