So I have a section, where the user can select how many of one item there is.
When they enter the value of how many, I want to show 3 coloumns, which needs to be filled out pr item.
Atm. I'm manually copying coloumns in my database, so that if the value is 1, it shows 3 colomuns, but if it says Y, I have it showing 3 * Y. But this puts a limit on how many they can enter.
Are there any way, to have this done automatically with virtual coloumns?
Example:
User A inputs that there is 1 item.
User is therefor shown:
User B inputs that there is 3 item.
User is therefor shown:
- Patrick
User | Count |
---|---|
33 | |
30 | |
30 | |
19 | |
16 |