I am working on a form where I am trying to insert a term to a taxonomy. So I have a drop down select with a list of my taxonomies and then the next field is a simple text field where the users will enter the name of the term.
Now this is where I am trying to figure out how to use a hook or some type of action when the user hits the submit button. I would like for the hook to add a term to the taxonomy that they have selected from the drop down select field.
So if they pick the cow taxonomy it will add a term to that that taxonomy, if they select the chicken taxonomy I would like the term to be added to that taxonomy.
Thanks for any direction or help.
Editlink under the tags. If you are working on something and want to know how to extend it, we need to be able to see the thing you want to extend, so share it, and if you're not sure which part to share, start with the entire thing.