Búsquedas recientes
No hay búsquedas recientes

Shobbir Ahmed
Incorporación 30 mar 2022
·
Última actividad 25 abr 2022
Seguimientos
0
Seguidores
0
Actividad total
21
Votos
0
Suscripciones
3
RESUMEN DE LA ACTIVIDAD
INSIGNIAS
ARTÍCULOS
PUBLICACIONES
COMENTARIOS DE LA COMUNIDAD
COMENTARIOS DE ARTÍCULOS
RESUMEN DE LA ACTIVIDAD
Última actividad de Shobbir Ahmed
Shobbir Ahmed hizo un comentario,
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?
Ver comentario · Publicado 25 abr 2022 · Shobbir Ahmed
0
Seguidores
0
Votos
0
Comentarios
Shobbir Ahmed hizo un comentario,
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
Ver comentario · Publicado 19 abr 2022 · Shobbir Ahmed
0
Seguidores
0
Votos
0
Comentarios
Shobbir Ahmed hizo un comentario,
That has worked perfectly, thank you both!
Ver comentario · Publicado 14 abr 2022 · Shobbir Ahmed
0
Seguidores
0
Votos
0
Comentarios
Shobbir Ahmed hizo un comentario,
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);
}
}
Ver comentario · Publicado 13 abr 2022 · Shobbir Ahmed
0
Seguidores
0
Votos
0
Comentarios
Shobbir Ahmed hizo un comentario,
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
Ver comentario · Publicado 13 abr 2022 · Shobbir Ahmed
0
Seguidores
0
Votos
0
Comentarios
Shobbir Ahmed hizo un comentario,
Aah, my bad!
Thank you very much for your help! It is now all working :)
Ver comentario · Publicado 12 abr 2022 · Shobbir Ahmed
0
Seguidores
0
Votos
0
Comentarios
Shobbir Ahmed hizo un comentario,
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?
Ver comentario · Publicado 12 abr 2022 · Shobbir Ahmed
0
Seguidores
0
Votos
0
Comentarios
Shobbir Ahmed hizo un comentario,
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();
});
Ver comentario · Publicado 12 abr 2022 · Shobbir Ahmed
0
Seguidores
0
Votos
0
Comentarios
Shobbir Ahmed hizo un comentario,
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
Ver comentario · Publicado 11 abr 2022 · Shobbir Ahmed
0
Seguidores
0
Votos
0
Comentarios
Shobbir Ahmed hizo un comentario,
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
Ver comentario · Publicado 11 abr 2022 · Shobbir Ahmed
0
Seguidores
0
Votos
0
Comentarios