I have a registration page, where the information for each entry is saved in the database and appears to the user in a repeating group.
When the user wants to modify some information in the registration made, I want him to press a button, and the information goes back to the inputs so he can choose what will be changed, instead of deleting all the data saved in that line and having to register all of them again. the information.
You can place two set of groups inside the repeating group, one for view and one for edit. All the edit button will do is to show the one with editing stuff. See my example below:
When I click on edit button, it shows the edit mode, and when it loses focus, it goes back to the view mode. You can do all with button clicks instead of losing focus.
My view mode is just a text, and edit mode is multiline input.
And the edit (pencil) button just does what I explained: