Dynamic Checkbox "Checked" based on database value in table

Hey @daves88,

I’m not able to understand how your checkbox list work and when it is checked or not but I have 2 suggestions:

  1. checkbox value is either 1 (checked) or 0 (unchecked)… What is the “moduleName”?
  1. Why don’t you just add a multi checkbox group to handle your checkboxes?
  • You need a query (an array of 1 and 0) for it… Like chkboxValues = [0, 1, 0, 0, 1, 1, 1, 0]
    If your existing query is formed like that it is OK.
  • Assign this query/array to the multi checkbox group in your page.

Check this post here: