Webform - trying to set submit handler
Turns out the form was not actually being submitted but the custom handler was not being processed because the form validation was failing. I disabled it with

$form['submitted']['name']['get']['#limit_validation_errors']=array();


and now the handler works.