Tell us what you are trying to do? Restrict Adding New item in taxonomy type flat on cred form
Is there any documentation that you are following? no
Link : hidden link
I want to restrict adding new item in taxonomy type fat on cred form. I have taxonomy product category , type flat. I added this taxonomy on cred form but problem is user can also add new item in taxonomy. I want to restrict users only to select from existing product categories.
I know its possible if i choose taxonomy type Hierarchical, I have 70000 product categories. it take too much time to load in select box. it this case taxonomy type flat works fine but issue is user can also add new product category. i want to restrict adding new product category by user on form or on checking after clicking submit button.
Thanks
Hello,
I have checked the URL you mentioned above, it seems you have already fixed this issue.
And you just need to edit the Toolset post form, find and edit the taxonomy field, Enable the option: Do not let visitors add new terms.
Hi,
issue is not fixed.
There is first field(last child 2) i want to fixed on hidden link
I have taxonomy type flat, so there is no option Do not let visitors add new terms
plz. check
Thanks
You are right, there is no option for the flat taxonomy field.
See our document:
https://toolset.com/documentation/programmer-reference/forms/cred-shortcodes/#cred_field
display. Optional. Used by fields for Hierarchical Taxonomies (like Categories) to signify the mode of display (ie. “select” or “checkbox”).
You can only display the Hierarchical Taxonomies as select or checkbox field, it won't work with flat taxonomy.
So there isn't such kind of built-in feature within Toolset plugins, can add a feature request for it:
https://toolset.com/home/contact-us/suggest-a-new-feature-for-toolset/
Our developers will evaluate it.
Currently, you might consider to switch the flat taxonomy to hierarchical taxonomy.