I have a very basic Google Apps form with two questions, Resource (radio button with two options) and Name (Text Field). I'd like to pick the form values upon submission so I've set up a trigger (on form submit) to call a function:

```
function onFormSubmit(e) {
  Logger.log(e.namedValues["Resource"]);
}

```

Any idea what I'm doing wrong?