I want the user to be able to add multiple entries from the same field and just submitted the form once. Is that possible?
For example:
Name:
Data:
Product ID:
I may have multiple product IDs and I dont want the user to keep redoing the form over and over again.
Hello,
You can add Product ID comma separated and OnSelect of button you can split the comma separated ids and store them in collection. Then Patch to backend datasource. Something like:
ClearCollect( TempCollection, ForAll( Split(ProductID.Text, ","), { ProductID: Result, Name: Name.Txt,
Date: Date.selected })); Patch(....)
@Moreshwar will this result in multiple entries or multiline entries because what I want is this:
Name Product ID
Tom B123
Tom B234
Tom B456
And not this:
Name Product ID
Tom B123
B234
B456
Without the user having to submit the form 3 different times.
Yes it will give you desired result. User will have to submit only once, where a you just need to make sure that user enters productid's "," separated.
User | Count |
---|---|
253 | |
106 | |
94 | |
50 | |
39 |