I have a table with Columns GTIN and Level. Each GTIN can have upto 3 level values. I am trying to add a functionality in my form which would ask the user how many levels they want to add. If the user adds 3, it should allow them to add 3 levels for the same GTIN value. If the user adds 2, it should allow user to add 2 level values for same GTIN value and so on. Any suggestions on how to achieve this?