I got a issue with my check box

Hi everyone I’m new in frappe and I got a question.
Is there a kind of custom script that allows me to verify if a checkbox has been checked or clicked in a child table then when I try to create a new record my checkbox would be set as unenabled (taking into account that the first row or any row have been set as checked in my check field, that means only a row can get that checkbox as enabled if that so the others will be set as unenabled)?

did you get my idea guys? is there a function that allows me to achieve that goal?


You need to run a loop to get it done.

Ruchin Sharma