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


AddThis Social Bookmark Button
  Autofilled PHP Forms
Subject:   Updated code, new example!
Date:   2007-03-06 16:05:50
From:   GavinAndresen
I finally got around to modifying fillInFormValues() to work with the PHP name="foo[]" syntax; updated code is at: http://www.skypaint.com/gavin/code/

There's a new example there that uses the array syntax for multiple text/radio/checkbox/select and textarea fields.

Also, <INPUT TYPE="RADIO"...> HTML 4-type uppercase-attribute syntax was broken, but now works properly.