Added support for array type form input