Hi Elwynn,
As Duarte mentioned, your onSubmit function must return true as noted in the Administration Guide:
onSubmit
Specifies the JavaScript function to run when the user submits the request that contains the form.
This function must return a Boolean value. If the function returns any value except true, the form is not submitted.
Thanks!
Jason