[BUG] Handle exception on empty form submit.

Hi Kay, 

Can you please merge this to master, I decided to create a branch to make the process more "correct". :)