Wondering how to convert a radio buttons (two option set) to flip switch/toggle or if it is even possible to do?
I am trying to do this on the Profile page of the portal which I have customised.
I have tried adding custom CSS styles to the page and to the field xxx_dailyjopurnal via JQuery on the web page not sure if this is the correct way.
<script>
$("#xxx_dailyjournalupdates").removeClass("control boolean-radio").addClass("switch slider");
</script>
I used the CSS style from https://www.w3schools.com/howto/howto_css_switch.asp
I added the CSS to the web page in the custom CSS area.
Nothing seems to render out so I assume I have done this incorrect. Has anyone tried this before or has any pointers on how to accomplish this?
From this :
to this
Is the aim.
Thanks in advance,
PJC