Welcome Guest, Not a member yet? Register   Sign In
How To Add Many Identical Fields Into a Form for Submission
#3

[eluser]vincej[/eluser]
HI Thanks you Very much for your help !

I'm still doing something wrong as when adding the array to locations[] the POST array now looks like this:

Code:
Array
(
    [locationid] => Array
        (
            [0] => 4
            [1] => 5
        )

    [location] => Varsity
    [1293704800] => 30 Dec 2010
    [1311704800] => 26 Jul 2011
    [1315704800] => 10 Sep 2011
    [1337704800] => 22 May 2012
    [1331704800] => 14 Mar 2012
    [1334704800] => 17 Apr 2012
    [1339704800] => 14 Jun 2012
    [submit] => Save Changes
)
what I am trying to do is get a POST array which has the locationid but MOST importantly those valuable 'theID's' which uniquely identifies each individual date - critical for amending the dates in the DB. 'theIDs' are being completely ignored by SUBMIT and my POST

I do have a controller but it is just 1 line so I do not bother to present it here.

Many Thanks !





Messages In This Thread
How To Add Many Identical Fields Into a Form for Submission - by El Forum - 03-22-2012, 12:29 PM



Theme © iAndrew 2016 - Forum software by © MyBB