I have a select list with some options. But now I also want an option
Other. And when you select the
Other option there has to open a pop-up screen with the add term to vocabulary form in it. The term should not be added directly to the vocabulary, it should be "disabled" first so the administrator can approve them.
I know how to get the taxonomy form (taxonomy_form_term, drupal_get_form, drupal_render_form) but I have some other questions:
- How can I open the popup and show call the function in my module to render the form? Should I add another option to my select list?
- How can I make sure when you add it, it doesn't add directly to the vocabulary (admin has to click approve)