Questions and discussion about using ProcessMaker: user interface, running cases & functionality

Moderator: amosbatto

By cosyxu
#824557
Hi Amo,

I have been using the following js code to make a radio button looks like a button.
Code: Select all
$("#search_Flag").find("div.radio").addClass("radio-inline").css("padding-left","0px");
$("#search_Flag").find("input.pmdynaform-control-radio").parent().addClass("btn btn-default").css("margin-bottom","10px").css("padding","10px 40px").css("white-space","normal").css("text-align","left");
It works, but I want to change the color of the button when a user click it, like the "active" class.

Is there anything that we can improve? Please see attached screenshot.

Thanks,
YX
Attachments
2019-05-23_9-38-27.png
2019-05-23_9-38-27.png (3.41 KiB) Viewed 2327 times
2019-05-23_9-37-10.png
2019-05-23_9-37-10.png (2.73 KiB) Viewed 2327 times

You do not need to know that much JavaScript to us[…]

Changing the login page

@amosbatto: Thankyou so much, it has been removed […]

I have another scenario in my process where I sh[…]

How to end a task with coding?

What version of ProcessMaker are you using? There[…]