PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Dynamic Population isSelected Error

  1. carcinomad
    Member

    Applies to: checkbox field, "Allow field to be populated dynamically" = true.

    Problem: If there are X default values (set from Form Editor page), but you are dynamically overriding these with X+n values using a custom pre_render function, and each dynamic value has "isselected"=1, only the first X are checked when form is displayed.

    Posted 13 years ago on Wednesday August 17, 2011 | Permalink
  2. The issue is simply that the dynamic population functionality takes priority over the pre render functionality. One way to resolve this is by recreating the dynamic population functionality inside the pre render function and to disable the dynamic population feature from the desired field. Something like this should do the trick:

    http://pastie.org/2387497

    Posted 13 years ago on Wednesday August 17, 2011 | Permalink