Pesquisas recentes
Sem pesquisas recentes

Shobbir Ahmed
Entrou em 30 de mar. de 2022
·
Última atividade em 25 de abr. de 2022
Seguindo
0
Seguidores
0
Atividade total
21
Votos
0
Assinaturas
3
VISÃO GERAL DA ATIVIDADE
MEDALHAS
ARTIGOS
PUBLICAÇÕES
COMENTÁRIOS NA COMUNIDADE
COMENTÁRIOS EM ARTIGOS
VISÃO GERAL DA ATIVIDADE
Atividade mais recente por Shobbir Ahmed
Shobbir Ahmed comentou,
Hey all,
We currently have end-users using the help centre to submit tickets. One of our ticket forms is a new starter form and I was wondering if it would be possible to allow end users to edit that form after it has been submitted?
Exibir comentário · Publicado 25 de abr. de 2022 · Shobbir Ahmed
0
Seguidores
0
Votos
0
Comentários
Shobbir Ahmed comentou,
Hello,
I am new to explore and need some assistance. How would I find the number of users who have logged in to the help centre/guide portal per day? Is there a way to set this up?
Thanks
Exibir comentário · Publicado 19 de abr. de 2022 · Shobbir Ahmed
0
Seguidores
0
Votos
0
Comentários
Shobbir Ahmed comentou,
That has worked perfectly, thank you both!
Exibir comentário · Publicado 14 de abr. de 2022 · Shobbir Ahmed
0
Seguidores
0
Votos
0
Comentários
Shobbir Ahmed comentou,
Hey Sam
That has semi-worked:
Only problem now is that we get the same message for each type of request:
Should say this is a software request
Should say this is an access request.
Code below:
$(document).on('change', '#request_custom_fields_4798476348945', function() {
hideDescription();
});
function hideDescription() {
var selected = $('#request_custom_fields_4798476348945').val();
if (selected = "standard_request") {
$('.form-field.request_description').show();
$('#request_description').val('');
}
if (selected = "access_request") {
$('.form-field.request_description').hide();
var descText = 'This is an Access Request';
$('#request_description').val(descText);
}
if (selected = "software_request") {
$('.form-field.request_description').hide();
var descText = 'This is a Software Request';
$('#request_description').val(descText);
}
if (selected = "external_access_request") {
$('.form-field.request_description').hide();
var descText = 'This is an External Access Request';
$('#request_description').val(descText);
}
if (selected = "new_starter_form") {
$('.form-field.request_description').hide();
var descText = 'This is a New Starter Form';
$('#request_description').val(descText);
}
if (selected = "leaver_form") {
$('.form-field.request_description').hide();
var descText = 'This is a Leaver Form';
$('#request_description').val(descText);
}
}
Exibir comentário · Publicado 13 de abr. de 2022 · Shobbir Ahmed
0
Seguidores
0
Votos
0
Comentários
Shobbir Ahmed comentou,
Hey Sam / Ifra Saqlain
I want to make one final change to autofill the description differently based on the choice, this is my code:
$(document).on('change', '#request_custom_fields_4798476348945', function() {
hideDescription();
});
function hideDescription() {
var selected = $('#request_custom_fields_4798476348945').val();
if (selected = "standard_request") {
$('.form-field.request_description').show();
$('#request_description').val('');
}
else if (selected = "access_request") {
$('.form-field.request_description').hide();
var descText = 'This is an Access Request';
$('#request_description').val(descText);
}
else if (selected = "software_request") {
$('.form-field.request_description').hide();
var descText = 'This is a Software Request';
$('#request_description').val(descText);
}
else if (selected = "external_access_request") {
$('.form-field.request_description').hide();
var descText = 'This is an External Access Request';
$('#request_description').val(descText);
}
else if (selected = "new_starter_form") {
$('.form-field.request_description').hide();
var descText = 'This is a New Starter Form';
$('#request_description').val(descText);
}
else if (selected = "leaver_form") {
$('.form-field.request_description').hide();
var descText = 'This is a Leaver Starter Form';
$('#request_description').val(descText);
}
}
Unfortunately it is now showing the description box in all options - any help?
Thanks
Exibir comentário · Publicado 13 de abr. de 2022 · Shobbir Ahmed
0
Seguidores
0
Votos
0
Comentários
Shobbir Ahmed comentou,
Aah, my bad!
Thank you very much for your help! It is now all working :)
Exibir comentário · Publicado 12 de abr. de 2022 · Shobbir Ahmed
0
Seguidores
0
Votos
0
Comentários
Shobbir Ahmed comentou,
Hey Sam,
Thanks for your help, unfortunately the description box is still showing for all forms:
Above is the code I copied.
I used this field ID:
Any ideas on why it isn't working?
Exibir comentário · Publicado 12 de abr. de 2022 · Shobbir Ahmed
0
Seguidores
0
Votos
0
Comentários
Shobbir Ahmed comentou,
Thanks Ifra Saqlain - Unfortunately now the description box is hidden for all the forms:
I just need the description field to show for only the 'Standard request' form.
This is the code I copied:
document.addEventListener("DOMContentLoaded", function () {
function checkTicketId(){
var descriptionWarpper = document.querySelector('.form-field.request_description');
var descriptionField = document.querySelector('#request_description');
var descriptionLabel = document.querySelector(".form-field.text.required.request_description > label");
const nestyInput = document.querySelector('a.nesty-input');
if (nestyInput.textContent.includes('Standard Request')) {
descriptionLabel.innerHTML = 'Description';
descriptionWarpper.style.display = "block";
}
if (!nestyInput.textContent.includes('Standard Request')) {
descriptionWarpper.style.display= "none";
descriptionField.innerHTML = "Hello Zendesk!"
}
}
checkTicketId();
});
Exibir comentário · Publicado 12 de abr. de 2022 · Shobbir Ahmed
0
Seguidores
0
Votos
0
Comentários
Shobbir Ahmed comentou,
Hey Ifra Saqlain,
This is what I now see:
The description is removed from all the forms, I want it to show for ONLY the standard form - is this possible?
Thanks
Exibir comentário · Publicado 11 de abr. de 2022 · Shobbir Ahmed
0
Seguidores
0
Votos
0
Comentários
Shobbir Ahmed comentou,
Hey Ifra Saqlain
Thanks for getting back to me.
Unfortunately I can't see the id's for any of my forms:
https://rewardinsight.zendesk.com/hc/en-gb/requests/new
Please have a look for yourself.
Thanks
Exibir comentário · Publicado 11 de abr. de 2022 · Shobbir Ahmed
0
Seguidores
0
Votos
0
Comentários