Implement submit input type.