Welcome Guest, Not a member yet? Register   Sign In
Running validation multiple times on single request
#5

[eluser]feel[/eluser]
Not quite. I only submit the form once, when I upload the excel spreadsheet. Then in my controller I parse the excel file. For each row I read from Excel file I do the same:
1. Set $_POST with values from the row
2. Run validation for ruleset "item/add"

In step 1. I don't unset $_POST but I update the values with the data read from current row.


Messages In This Thread
Running validation multiple times on single request - by El Forum - 07-04-2011, 06:06 AM
Running validation multiple times on single request - by El Forum - 07-04-2011, 06:37 AM
Running validation multiple times on single request - by El Forum - 07-04-2011, 06:48 AM
Running validation multiple times on single request - by El Forum - 07-04-2011, 08:18 AM
Running validation multiple times on single request - by El Forum - 07-04-2011, 08:36 AM
Running validation multiple times on single request - by El Forum - 07-04-2011, 08:48 AM
Running validation multiple times on single request - by El Forum - 07-04-2011, 10:02 AM
Running validation multiple times on single request - by El Forum - 07-14-2011, 03:40 PM



Theme © iAndrew 2016 - Forum software by © MyBB