Do we need this complex form? Why would name and val be arrays?