Selling tickets, showing forms in CMS based on qty of tickets

I’m setting up a site to sell tickets to my event using webflow CMS plus foxy for e-commerce.

I’m looking to set up a form on a CMS item to collect data about the users, inc user names and email addresses.

But, the amount of forms I need generated depends on the number of tickets being purchased. For example, if I buy two tickets, I want the details of both of those people.

Basically, I want to ask how many tickets, then show the number of form fields based on that number.

Those two people I then want to create separate rows for in a google sheet with zapier.

Any idea how I can do this?