Using `transpose` to clean up form input