# Dynamic Fields in a Form

**URL:** <https://forum.shopware.com/t/dynamic-fields-in-a-form/95811>\
**Category:** Shopware 5\
**Created:** [17. August 2022 um 06:36 UTC](https://forum.shopware.com/t/dynamic-fields-in-a-form/95811 "2022-08-17T06:36:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![andrei1](https://avatars.discourse-cdn.com/v4/letter/a/ecd19e/32.png) [@andrei1](https://forum.shopware.com/u/andrei1)\
**Post date:** [17. August 2022 um 06:36 UTC](https://forum.shopware.com/t/dynamic-fields-in-a-form/95811/1 "2022-08-17T06:36:50Z")

</div>

Does anyone know how can I make a dropdown with numbers that display a pair of inputs based on that number?  
Say, you want to return 3 items. Selecting number 3 from the dropdown will display 3 pairs of inputs like so:  
Product 1 code:  
Product 1 name:  
Product 2 code:  
Product 2 name:  
Product 3 code:  
Product 3 name:
