Issues with dynamic checkboxlist state in multi-step wizard form
Hi everyone,
I am trying to update a
This seems to be related to how I pass the
If I add a debug at the beginning of the second step, I see that the query() is called multiple times, including when the
I am really confused as to how to approach the problem. What would you do?
EDIT: my message is too long to paste the code, so I shared it in the first reply.
I am trying to update a
CheckboxList depending on the value of a field set in a previous step of a Wizard form. The following code works fine and displays the CheckboxList as expected. However, it seems that all the CheckboxList boxes have the same state, so when I check one box, all the boxes are checked.This seems to be related to how I pass the
$get('user_id') value from one step to another. If I hardcode the numeric id instead of the variable, everything works as expected.If I add a debug at the beginning of the second step, I see that the query() is called multiple times, including when the
document_id is not set up yet, which is not really what I would expect either.I am really confused as to how to approach the problem. What would you do?
EDIT: my message is too long to paste the code, so I shared it in the first reply.