Pesquisas recentes


Sem pesquisas recentes

Bruce Chang On's Avatar

Bruce Chang On

Entrou em 04 de abr. de 2023

·

Última atividade em 30 de dez. de 2024

Seguindo

0

Seguidores

0

Atividade total

33

Votos

20

Assinaturas

8

VISÃO GERAL DA ATIVIDADE

Atividade mais recente por Bruce Chang On

Bruce Chang On comentou,

Comentário na comunidade Discussion - Tips and best practices from the community

Amazing!! Thank you so much Domokos! This worked beautifully!

Exibir comentário · Publicado 11 de dez. de 2024 · Bruce Chang On

0

Seguidores

0

Votos

0

Comentários


Bruce Chang On comentou,

Comentário na comunidade Discussion - Tips and best practices from the community

Hi Domokos, 

 

so I added the code to the bottom of my script.js file and it worked. The only issue I have is that I am still seeing the description details, which I think is supposed to be hidden by this line:

 

const descriptionDetails = container.querySelector("p:contains('Please enter the details of your request.')");

 

Would you be able to help me also hide the attachments?

 

Thank you.

Exibir comentário · Publicado 10 de dez. de 2024 · Bruce Chang On

0

Seguidores

0

Votos

0

Comentários


Bruce Chang On comentou,

Comentário na comunidade Discussion - Tips and best practices from the community

Hi Domokos, 

 

thank you for this. Is there a specific place in the Script.js file where this should be input?

 

Also, can you point out which variables we should change to customize to our form? (i.e. Form ID, the info we want input into the subject and description etc.?


it's a bit confusing to figure out what should be replaced in the code for our particular scenario.

 

Thanks again for posting this. Super helpful!

 

Exibir comentário · Publicado 10 de dez. de 2024 · Bruce Chang On

0

Seguidores

0

Votos

0

Comentários


Bruce Chang On comentou,

ComentárioHow to customize the theme of the help center

Thank you Jan,

 

I am following that post. I hope there is a solution

Exibir comentário · Publicado 04 de dez. de 2024 · Bruce Chang On

0

Seguidores

0

Votos

0

Comentários


Bruce Chang On comentou,

ComentárioHow to customize the theme of the help center

Hi All, 

 

very new to Zendesk and not very strong at coding. I'm basically looking for a way to hide the Subject, Attachment and Description fields on a specific form.

 

Using Copenhagen Theme version 4.1.0

Templating API v4

 

I've landed on this but not sure exactly where I should insert the code. Can anyone give me some directions please?

 

var ticketForm = location.search.split('ticket_form_id=')[1];

if(ticketForm == 28674919414929) {
$('.form-field.request_subject').hide(); // Hide subject
$('.form-field.request_description').hide(); // Hide description
$('.form-field.string.optional.request_cc_emails').hide();// Hide CCs 
$('.form-field label:contains("Attachments")').hide(); // Hide label for Attachments
$('#upload-dropzone').hide(); // Hide upload box for Attachments
$('#request_subject').val('New EAP Appointment Request'); // autofill subject
$('#request_description').val('See details in the fields to the left'); // autofill description
}

 

I've basically added it at the bottom of my Script.js file

Exibir comentário · Editado 27 de nov. de 2024 · Bruce Chang On

0

Seguidores

0

Votos

0

Comentários