karlis
Member
Hello! I have some a repeat group in a form I'm having problems with.
The form is for Persons and the repeat group is Person_responsibility. Person_responsibility is a list that contains Person_id, Responsibility_id.
My problem is such -- not everyone in the db has a responsibility in the secretariat, and when editing a person's record, who has no responsibility in the secretariat, a NULL record is stored in Person_responsibility.
Is there a way to prevent this?
The group for secretariat responsibility is hidden by a yes/no field. Bet regardless, every person who gets edited gets a NULL record (unless they already have a responsibility, as in the screenshot).
The form is for Persons and the repeat group is Person_responsibility. Person_responsibility is a list that contains Person_id, Responsibility_id.
My problem is such -- not everyone in the db has a responsibility in the secretariat, and when editing a person's record, who has no responsibility in the secretariat, a NULL record is stored in Person_responsibility.
Is there a way to prevent this?
The group for secretariat responsibility is hidden by a yes/no field. Bet regardless, every person who gets edited gets a NULL record (unless they already have a responsibility, as in the screenshot).