Form component can be set to automatically call submit.
Add convenient way to use inline event like 'onsubmit'