Custom fieds link to another custom fields answer
Con risposta
Most Engaged Newbie of the Year - 2021
Data ultimo post: 13 lug 2021
Dear,
I would like to create a custom field that will appear depending on the answer of another custom field, is there a way to do it without using specific ticket form ?
For example: If answer of drop down custom field 1 is Support, a drop down custom field 2 will appear with the following possible answer: SW or HW.
If answer of drop down custom field 1 is Dev, a drop down custom field 3 will appear with the following possible answer: Liste or AS400.
Thank you for you help
0
8
8 commenti
Trapta Singh
@Renaud Croix,
You need to replace the FIELDID with your field ID using inspect element. then only the code will work. I mentioned it in the comment and in the code. Please replace the code and it will work.
Thanks
0
Renaud Croix
8036642427
It seems that one of the line of your code has an error.
See the screenshot below at the line 421:
Regards
0
Trapta Singh
@Renaud Croix,
the above code is for ticket fields only and not ticket forms. As long as you are using the right FIELD ID it should not be an issue for you.
Thanks
0
Renaud Croix
Hi 8036642427,
Thank you.
What about if the needs is for a ticket fields (not ticket form) ?
Kind regards
0
Trapta Singh
Hi @Renaud Croix,
You need to edit the code and put the code at the bottom of your script.js file from the left sidebar. Here's the link for you to guide how to edit the code of HC in Zendesk.
Let us know if this helps you.
Thanks
0
Renaud Croix
Thank you very much,
8036642427,
I'm quite new with Zendesk.
Could you explain in summary where and how put this code ?
Thank you
0
Trapta Singh
Hi @Renaud Croix,
Try putting the below code at the bottom of you script.js file.
You can see the working example here. I am displaying and hiding the subject field on the basis of custom field dropdown.
Let us know how it goes for you.
Thanks
1
Pulkit Pandey
Hi Renaud Croix
Yes, it can be possible you have to write some custom javascript to achieve your desired result
Thanks
Pulkit
Team Diziana
0
Accedi per aggiungere un commento.