Use of Search function from the array of data ( in the same form )

The data of begin repeat is stored in the array .
We can use the data individually using the index-repeat function .

How can i use the search functionality to get the previously saved array of data ?

For example , I saved every household person_name 5 times using the
begin repeat functionality

In the other group named “chronic_illness” , there is again the field where I have to re-enter the name of person of that household.
How can i use the search functionality to auto fill the previously saved data ( here data type is array ) .

Welcome to the community, @rain007! Maybe this is what you are trying to achieve?