Hi,
Does anyone know of a way to use a for each loop in K2 Smartform rules??
I have a form with a list view which by default has 1 row. If the user selects an option then a certain number of rows are automatically created in the list view. For example, qty = 10 so 10 rows should be created with the same data from the form but with different id's. I essentially want to call the SMO Create method 'qty' number of times.
I know how to do it on the workflow side but this really needs to be done on the form as the user needs to determine how many rows should be in the table (in some cases the default 1 row is sufficent) and then enter data against each row.
I suppose I could create a stored proc but was hoping I could do it on the form
Regards,
Ciara