The CreatorCon Call for Content is officially open! Get started here.

display certain options in subcategory

Mitchell_Milo
Tera Contributor

Hi

 

I have a drop-down category field that contains software, hardware and server

When I select Hardware, A subcategory field should display with a drop down of Surface, Apple, Mac, Dell, HP

When I select Software, I want subcategory field to also display with dropdown of windows OS, MacOS, Android 

 

How can I implement this please 

1 REPLY 1

Prince Arora
Tera Sage

@Mitchell_Milo 

 

You can achieve it using two ways:

1) Dependent fields:

For more info, please check this LINK 

 

2) Using Scripting

You can write a client script and using g_form.addOption() & g_form.removeOption, you can handle the choices

 

If my answer solved your issue, please mark my answer as  Correct & 👍Helpful based on the Impact.