Recent searches
No recent searches

Shobbir Ahmed
Joined Mar 30, 2022
·
Last activity Apr 25, 2022
Following
0
Followers
0
Total activity
21
Votes
0
Subscriptions
3
ACTIVITY OVERVIEW
BADGES
ARTICLES
POSTS
COMMUNITY COMMENTS
ARTICLE COMMENTS
ACTIVITY OVERVIEW
Latest activity by Shobbir Ahmed
Shobbir Ahmed commented,
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?
View comment · Posted Apr 25, 2022 · Shobbir Ahmed
0
Followers
0
Votes
0
Comments
Shobbir Ahmed commented,
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
View comment · Posted Apr 19, 2022 · Shobbir Ahmed
0
Followers
0
Votes
0
Comments
Shobbir Ahmed commented,
That has worked perfectly, thank you both!
View comment · Posted Apr 14, 2022 · Shobbir Ahmed
0
Followers
0
Votes
0
Comments
Shobbir Ahmed commented,
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);
}
}
View comment · Posted Apr 13, 2022 · Shobbir Ahmed
0
Followers
0
Votes
0
Comments
Shobbir Ahmed commented,
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
View comment · Posted Apr 13, 2022 · Shobbir Ahmed
0
Followers
0
Votes
0
Comments
Shobbir Ahmed commented,
Aah, my bad!
Thank you very much for your help! It is now all working :)
View comment · Posted Apr 12, 2022 · Shobbir Ahmed
0
Followers
0
Votes
0
Comments
Shobbir Ahmed commented,
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?
View comment · Posted Apr 12, 2022 · Shobbir Ahmed
0
Followers
0
Votes
0
Comments
Shobbir Ahmed commented,
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();
});
View comment · Posted Apr 12, 2022 · Shobbir Ahmed
0
Followers
0
Votes
0
Comments
Shobbir Ahmed commented,
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
View comment · Posted Apr 11, 2022 · Shobbir Ahmed
0
Followers
0
Votes
0
Comments
Shobbir Ahmed commented,
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
View comment · Posted Apr 11, 2022 · Shobbir Ahmed
0
Followers
0
Votes
0
Comments