Open fields based on the previous question

Hello, in question 1 I want to know how many people live in this house. In question 2 I want you to open text fields according to the value I entered in question 1 where each field would be the name of each person. How do I do this calculation? EX: if there are 3 people in question 1 in question 2 open 3 text fields

Welcome to the community, @elielson! You could do it as outlined in this post discussed previously:

You should be able to learn more about repeat group and repeat count through our support article Grouping Questions and Repeating Groups.