Is it possible to add sections in the form as per input requirements?

There is one requirment to check the pregnant women’s Gravida. The default setting is 1 or 0 but if the Gravida is more than 1 the field should be opened for further information. There should be field opening per Gravida increment. We can integrate one field that will fulfill the requirement to enter information if the Gravida is 2 but more than that , we cannot add sections for another same field. We need to make field for more than 2 Gravida input. Is it possible to do that?

It would probably require a program rule to achieve this. If the number is 2, show one section, if it is 3, show two more sections, and if 4 show three more sections…etc; however, this can’t be automated unless it’s a custom app.