Recherches récentes


Pas de recherche récente

Shobbir Ahmed's Avatar

Shobbir Ahmed

Adhésion le 30 mars 2022

·

Dernière activité le 25 avr. 2022

Suivis

0

Abonnés

0

Activité totale

21

Votes

0

Abonnements

3

APERÇU DES ACTIVITÉS

Dernière activité effectuée par Shobbir Ahmed

Shobbir Ahmed a ajouté un commentaire,

CommentaireTicket customization

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?

Afficher le commentaire · Publication le 25 avr. 2022 · Shobbir Ahmed

0

Abonnés

0

Votes

0

Commentaire


Shobbir Ahmed a ajouté un commentaire,

CommentaireReporting and analytics for help center

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

Afficher le commentaire · Publication le 19 avr. 2022 · Shobbir Ahmed

0

Abonnés

0

Votes

0

Commentaire


Shobbir Ahmed a ajouté un commentaire,

CommentaireHow to customize the theme of the help center

That has worked perfectly, thank you both!

Afficher le commentaire · Publication le 14 avr. 2022 · Shobbir Ahmed

0

Abonnés

0

Votes

0

Commentaire


Shobbir Ahmed a ajouté un commentaire,

CommentaireHow to customize the theme of the help center

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);
}

}

Afficher le commentaire · Publication le 13 avr. 2022 · Shobbir Ahmed

0

Abonnés

0

Votes

0

Commentaire


Shobbir Ahmed a ajouté un commentaire,

CommentaireHow to customize the theme of the help center

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

Afficher le commentaire · Publication le 13 avr. 2022 · Shobbir Ahmed

0

Abonnés

0

Votes

0

Commentaire


Shobbir Ahmed a ajouté un commentaire,

CommentaireHow to customize the theme of the help center

Aah, my bad!

Thank you very much for your help! It is now all working :)

Afficher le commentaire · Publication le 12 avr. 2022 · Shobbir Ahmed

0

Abonnés

0

Votes

0

Commentaire


Shobbir Ahmed a ajouté un commentaire,

CommentaireHow to customize the theme of the help center

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?

Afficher le commentaire · Publication le 12 avr. 2022 · Shobbir Ahmed

0

Abonnés

0

Votes

0

Commentaire


Shobbir Ahmed a ajouté un commentaire,

CommentaireHow to customize the theme of the help center

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();
  
});

Afficher le commentaire · Publication le 12 avr. 2022 · Shobbir Ahmed

0

Abonnés

0

Votes

0

Commentaire


Shobbir Ahmed a ajouté un commentaire,

CommentaireHow to customize the theme of the help center

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

Afficher le commentaire · Publication le 11 avr. 2022 · Shobbir Ahmed

0

Abonnés

0

Votes

0

Commentaire


Shobbir Ahmed a ajouté un commentaire,

CommentaireHow to customize the theme of the help center

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

Afficher le commentaire · Publication le 11 avr. 2022 · Shobbir Ahmed

0

Abonnés

0

Votes

0

Commentaire