Forums

change the style of check boxes to buttons

angus 11 Jul, 2016
Is there away to change a check box list in to a list of select-able buttons, so it is view and a horizontal list of buttons that change colour when one is selected and changes when a different on is selected. but functions the same as a check box does.
angus 12 Jul, 2016
i need to change the style of the checkbox to a press-able button style, rather than tick box and label.
GreyHead 12 Jul, 2016
Hi Angus,

You should be able to do this with the jQuery UI buttonset() widget (see the jQuery docs here). I've just been experimenting and so far have failed to get this to work with a radio button group - I have the correct code and the correct files loading but in my test form the radio buttons remain radio standard buttons :-(

Bob
This topic is locked and no more replies can be posted.