I have a check box and two panels. The check box is to specify if the user is a manager or not, if yes then the check box must be checked and choose groups/departments that, that manager is responsible for from the panels.
Problem is: The check box holds the previous status ex: Choose a user, specify that he is a manager and choose the groups from the panels then leave the page…choose another user (who is not the manager), but the check box will come back still checked as it was checked on the previous session.
Same thing as when first I choose the user who is not a manager (the check box will not be clicked and there will be no groups selected from the panels), if I leave the page, and come back with a user that is a manager, the check box will still be in-checked, until I check it, then it will show that there are groups already selected. (suppose the check box is checked and the groups are selected already).
How do I fix this, it’s weird…please help.