Checkbox Toggle

Forums Requests Checkbox Toggle

Viewing 1 reply thread
  • Author
    Posts
    • #27675
      Tricia S.
      Participant

      Hi Alex,

      Is there a way we can use the modern yes/no toggle?

      Users have said they find the check box confusing and I think the toggle would solve it be cause it’s very clear that you have selected yes or no.

      Snap of default Boolean included.

      Please and thank you!

    • #27707
      Alexander Bautz
      Keymaster

      Hi,
      You can add the CSS from this example (you might want to shrink it a bit I think): https://www.w3schools.com/howto/howto_css_switch.asp to your Custom CSS and then add this to your Custom JS:

      jQuery("#dffs_YOUR_FIELD_NAME").find("input").wrap("<label class='switch'></label>").after("<span class='slider round'></span>");

      Replace YOUR_FIELD_NAME with your actual field name.

      Alexander

Viewing 1 reply thread
  • You must be logged in to reply to this topic.