custominput: fix error when inputs don't have name attributes