Refer to my earlier post here.
A custom doctype has a field that requires selection of one or more rows from another doctype e.g. the field may require a user to select one or more rows from ‘Industry Type’ doctype. Similarly refer to selection of Roles and Modules in User doctype.
One has to create a child table where the user can add/remove rows OR pre-populate the child table with all rows from the other doctype (which must have two fields - text and checkbox) and then later evaluate which ones have been selected.
It would be much more intuitive for a user to check/uncheck (using checkboxes) rather than add/remove rows from a child table.
It my not be trivial but could we have a generic ‘editor’ such as ‘RoleEditor’ in User doctype which can be reused to achieve this? I can see many scenarios where this would be a good UX.