Kind of a general / best practice question.
I have a form that is used to create "containers" for items (think a box that has many items in it) and currently there is a sub-form that the user can utilize to populate said container with items (linked vis master/child). My question is this, I was wanting to have the sub-form locked and disabled by default but when the user wants to populate it, they would click a button that would enable and unlock the sub-form and set focus to it then when they leave said sub-form and set focus elsewhere, the form would go back to being locked and disabled to prevent accidental editing of its contents. I tried doing it as a pop up, but for some reason have issues with getting the required ID's passed into it without having the ability to set master/child fields.
Is this a good way to handle it? I have controlled forms like this in the past, but have become curious if that is a good way to manage data entry.
I have a form that is used to create "containers" for items (think a box that has many items in it) and currently there is a sub-form that the user can utilize to populate said container with items (linked vis master/child). My question is this, I was wanting to have the sub-form locked and disabled by default but when the user wants to populate it, they would click a button that would enable and unlock the sub-form and set focus to it then when they leave said sub-form and set focus elsewhere, the form would go back to being locked and disabled to prevent accidental editing of its contents. I tried doing it as a pop up, but for some reason have issues with getting the required ID's passed into it without having the ability to set master/child fields.
Is this a good way to handle it? I have controlled forms like this in the past, but have become curious if that is a good way to manage data entry.