最近搜索
没有最近搜索

Cory Katz
已加入2021年4月16日
·
最后活动2022年8月22日
关注
0
关注者
0
活动总数
13
投票
6
订阅
3
活动概览
标记
文章
帖子
社区评论
文章评论
活动概览
的最新活动 Cory Katz
Cory Katz 进行了评论,
@... -
your code looks good. I use the following and it's working for me:
$('#request_description').val('See details in the fields to the left'); // autofill description
have you played around with the description value? maybe it needs to be longer than a couple words, although i doubt as i've received tickets with just a period in the description i think.
查看评论 · 已于 2021年2月12日 发布 · Cory Katz
0
关注者
0
投票
0
评论
Cory Katz 进行了评论,
@... that worked thank you!
i was able to also hide the attachment upload section with the following:
$('.form-field label:contains("Attachments")').hide(); // Hide label for Attachments
$('#upload-dropzone').hide(); // Hide upload box for Attachments
查看评论 · 已于 2021年2月02日 发布 · Cory Katz
0
关注者
2
投票
0
评论
Cory Katz 进行了评论,
is there a way to also hide the CC field and the Attach a file section? i played with the following code but it doesn't seem to remove the CC and Attach file, just the subject and description:
var ticketForm = location.search.split('ticket_form_id=')[1];
if(ticketForm == 360001296612) {
$('.form-field.request_subject').hide(); // Hide subject
$('.form-field.request_description').hide(); // Hide description
$('.form-field.request_collaborators_').hide(); // Hide CCs
$('.form-field.request-attachments').hide(); // Hide attachment upload
$('#request_subject').val('New update ticket form request'); // autofill subject
$('#request_description').val('See details in the fields to the left'); // autofill description
}
查看评论 · 已于 2021年1月15日 发布 · Cory Katz
0
关注者
1
投票
0
评论
Cory Katz 进行了评论,