The value passed in via the form is the index into the array? That seems flaky to me.