Submit when clicking a container

Submit when clicking a container

  
Hi guys.
I have a form and a container with On Click Destination set. I would like the click to perform a regular form submit, validating inputs on the client side. Is this possible? It seems that this always makes an Ajax Submit without validating inputs.
I could work around and create an invisible button, and click the button via javascript.
Is there any other option?

Thanks!
Hi Pedro,

The built in widget events are always ajax requests (On Change, On Click, etc.).
You can use the extended properties to implement in javascript the logic to submit the form when the container is clicked.
However if you are using version 8.0.1.x you can put the container inside a link. 
Use the form object tree on the right of the screen

cheers

Thanks Rui and André.
Rui's solution works great!