ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Autofilled PHP Forms
Subject:   Problem with using array input names
Date:   2006-07-07 16:12:06
From:   GavinAndresen
Response to: Problem with using array input names

I was wondering when somebody would notice that it doesn't handle PHP's built-in support for arrays of form fields.


On a scale of 1-10, that will be about a '6' to fix; it will involve changes to the fillInInputTag() and fillInTextArea() (and maybe fillInSelect) functions, where they fetch the "name" attribute (gotta be smarter about name="foo[]", and keep track of which array index is being parsed, and find the corresponding value in $request).


1 to 1 of 1
  1. Problem with using array input names
    2006-07-11 00:21:32  sdave1284 [View]

1 to 1 of 1