Added input type="submit" support

See #171