Discussions

Expand all | Collapse all

One checkbox to tick multiple checkbox

  • 1.  One checkbox to tick multiple checkbox

    Top
    Contributor
    Posted 11-29-2018 05:47
    Hi all, 

    I'm currently working on a checklist and was wondering if i could implement a formula to tick all the checkbox (09) - (16) upon a tick in another checkbox (Master checkbox). This way it'll save time instead of ticking 90+ boxes whereas i can segregate it into sections and tick ~6 checkboxes instead. Any help is appreciated. 

    Thanks.





  • 2.  RE: One checkbox to tick multiple checkbox

    Posted 11-29-2018 12:52
    Have you tried using form rules?


  • 3.  RE: One checkbox to tick multiple checkbox

    Top
    Contributor
    Posted 12-04-2018 14:08
    im not very sure how to use that function. would be nice to have some guidance or assistance. thanks


  • 4.  RE: One checkbox to tick multiple checkbox

    Top
    Contributor
    Posted 12-04-2018 16:42
    Here is a demo:



    Check All Checkboxes ~ Edit Record 1
    https://haversineconsulting.quickbase.com/db/bn7678vbv?a=er&rid=1

    Pastie Database
    https://haversineconsulting.quickbase.com/db/bgcwm2m4g?a=dr&rid=696

    Notes:

    (1) No extra fields were used for the two "All" checkboxes. Rather, two text fields were introduced into the form to indicate where the checkboxes should be inserted into the form using script. This approach saves you from clogging up your table with fields that don't carry any information.



    (2) I sometimes cheat and don't wrap the module.js code in a closure or put in the detection logic that applied the code to the relevant page. You should do both of these things.



  • 5.  RE: One checkbox to tick multiple checkbox

    Top
    Contributor
    Posted 12-06-2018 14:42
    i've managed to solve it after meddling with the dynamic form rules. Thanks guys