Welcome Guest, Not a member yet? Register   Sign In
Need help With Submitting a Dynamic Form
#5

[eluser]vincej[/eluser]
Thnaks jj - I've used the set value before - unfortunately it is not the problem I am having. My problem is in submitting the values of a form when those values are generated through a foreach loop. Essentially what happens is as the foreach cycles through it overwrites the previous value. The result is an HTML for with all the values in the DOM but not int he $variable.

The solution I am finding is to convert each of the form names to an array thus []. This way, as the foreach cycles through the name array will capture all the values which can then be submitted as an array.

I still don't have it all working yet, but I am making some progress.



Messages In This Thread
Need help With Submitting a Dynamic Form - by El Forum - 01-24-2012, 02:41 PM
Need help With Submitting a Dynamic Form - by El Forum - 01-24-2012, 10:08 PM
Need help With Submitting a Dynamic Form - by El Forum - 01-25-2012, 10:51 AM
Need help With Submitting a Dynamic Form - by El Forum - 01-25-2012, 01:03 PM
Need help With Submitting a Dynamic Form - by El Forum - 01-25-2012, 01:12 PM
Need help With Submitting a Dynamic Form - by El Forum - 01-25-2012, 02:31 PM
Need help With Submitting a Dynamic Form - by El Forum - 01-25-2012, 03:15 PM
Need help With Submitting a Dynamic Form - by El Forum - 01-25-2012, 04:25 PM



Theme © iAndrew 2016 - Forum software by © MyBB