1. If you update to Joomla 3.8.10, please make sure that you either do a full GitHub update of Fabrik, or disable caching for your lists (in the Advanced settings) or turn off Joomla's System Cache setting. A change in Joomla's cache code in 3.8.10 required a fix in Fabrik, which will be rolled in to the next release, but is currently only available in GitHub.
    Dismiss Notice
  2. We will be performing an update of XenForo (the forum software use on this site) this afternoon, Fri 8/17/2018. The forums will be unavailable for a (hopefully!) short time.
    Dismiss Notice

YesNo element

Dec 10, 2013
YesNo element

  • Introduction(top)


    The yes no element is a short cut to the having to manually set up a radio button with a standard 'Yes' or 'No' options (represented as 1 and 0 in the underlying raw table data). It also has the advantage of automatically showing icons for the results in the list view.

    Form example (top)

    yesno-example.png

    List example (top)

    yesno-example-list.png

    Administration settings (top)


    yesno.png
    • Default - should the default selected option be 'yes' or 'no'.
    • Options per row - (Fabrik 3.0 only) The radio button spancing

    Notes(top)


    Certain Rocket Themes templates override the Bootstrap CSS we use for Yes/No, such that both buttons end up being blue, and don't change on hover / selection. You may need to add something like this to a custom CSS file in your form template:

    Code (Text):

    .fabrikForm label.btn.active.btn-danger {
        background-color: red;
    }
    .fabrikForm label.btn.active.btn-success {
        background-color: green;
    }
    .fabrikForm label.btn:not(.active) {
        background-color: lightgray;
    }
     
  • Loading...