最近搜索
没有最近搜索

Shobbir Ahmed
已加入2022年3月30日
·
最后活动2022年4月25日
关注
0
关注者
0
活动总数
21
投票
0
订阅
3
活动概览
标记
文章
帖子
社区评论
文章评论
活动概览
的最新活动 Shobbir Ahmed
Shobbir Ahmed 进行了评论,
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?
查看评论 · 已于 2022年4月25日 发布 · Shobbir Ahmed
0
关注者
0
投票
0
评论
Shobbir Ahmed 进行了评论,
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
查看评论 · 已于 2022年4月19日 发布 · Shobbir Ahmed
0
关注者
0
投票
0
评论
Shobbir Ahmed 进行了评论,
That has worked perfectly, thank you both!
查看评论 · 已于 2022年4月14日 发布 · Shobbir Ahmed
0
关注者
0
投票
0
评论
Shobbir Ahmed 进行了评论,
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);
}
}
查看评论 · 已于 2022年4月13日 发布 · Shobbir Ahmed
0
关注者
0
投票
0
评论
Shobbir Ahmed 进行了评论,
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
查看评论 · 已于 2022年4月13日 发布 · Shobbir Ahmed
0
关注者
0
投票
0
评论
Shobbir Ahmed 进行了评论,
Aah, my bad!
Thank you very much for your help! It is now all working :)
查看评论 · 已于 2022年4月12日 发布 · Shobbir Ahmed
0
关注者
0
投票
0
评论
Shobbir Ahmed 进行了评论,
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?
查看评论 · 已于 2022年4月12日 发布 · Shobbir Ahmed
0
关注者
0
投票
0
评论
Shobbir Ahmed 进行了评论,
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();
});
查看评论 · 已于 2022年4月12日 发布 · Shobbir Ahmed
0
关注者
0
投票
0
评论
Shobbir Ahmed 进行了评论,
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
查看评论 · 已于 2022年4月11日 发布 · Shobbir Ahmed
0
关注者
0
投票
0
评论
Shobbir Ahmed 进行了评论,
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
查看评论 · 已于 2022年4月11日 发布 · Shobbir Ahmed
0
关注者
0
投票
0
评论