So I've got something that is pretty easy with a normal form, but I am unsure how to do it when building a form inside an action. I basically have one select field whose options are dependent on the value of another select field.
I know the data is available in the $data array, but I can't figure out how to access that outside of ->action( ).