Hi Domagoj,
In Service Catalog form you can achieve your requirement If you have the data in the database, then three "select" components can be used with "Report/Plug-in Id" and passing the previous select value in "Report/Plug-in Variables".
Example: select1 contains data pulled from printer company table using reportid1 , select2 has pulled from printer model table along with filter (report variable) as $({'STRING':ca_fdGetSelectedOptionValues(ca_fd.formId,'select1')[0]}) and likewise select3 has data pulled from toners table with filter (report variable) as $({'STRING':ca_fdGetSelectedOptionValues(ca_fd.formId,'select2')[0]})
Also add "ca_fdFetchSelectData(ca_fd.formId,'select2')" in onchange event of select1
and
"ca_fdFetchSelectData(ca_fd.formId,'select3')" in onchange event of select2
This form can be attached to any offering, and it will be available in the Service Point.
Please let us know if you have any more questions.
Regards,
Satya Kiran
Original Message:
Sent: Sep 16, 2023 03:43 AM
From: Domagoj Hrzic
Subject: 3 dependent Dropdowns
I can give you an example:
First dropdown, select printer model:
Canon
Epson
Second dropdown is filled depending on the first dropdown with corresponding value of models like, on selection:
Canon Pixma
Third dropdown is filled with the corresponding toners:
Color
Black
And if possible to have this behaviour in Service Point :D
Regards,
Domagoj
Original Message:
Sent: May 24, 2023 08:23 AM
From: Satya Kiran Jasti
Subject: 3 dependent Dropdowns
Hi Amina,
Can you please elaborate more on the usecase, how 1st and 2nd are connected and it would help a lot if you can share a sample form with your usecase.
Regards,
Satya Kiran
Original Message:
Sent: May 22, 2023 05:00 AM
From: Amina Ch
Subject: 3 dependent Dropdowns
Hey!
I want to make 3rd dropdown dependent to the 2nd dropdown
1st and 2nd dropdown is already dependent to each other.
I want to update the 3rd dropdown values based on 2nd dropdown values
if dropdown 2 value is apple then in drop dropdown 3 only 3 colors display and hide the remaining dropdown list.
How to do this? Please guide me!!!