最近搜索
没有最近搜索

Jona Wilmsmann
已加入2021年4月16日
·
最后活动2021年10月22日
关注
0
关注者
0
活动总数
4
投票
1
订阅
1
活动概览
标记
文章
帖子
社区评论
文章评论
活动概览
的最新活动 Jona Wilmsmann
Jona Wilmsmann 进行了评论,
I just want to jump in here and say that i share the frustration. Our company doesn't even use Facebook, so I can't complete the checklist even if I wanted to.
Would be great if I could just dismiss the section.
查看评论 · 已于 2021年2月19日 发布 · Jona Wilmsmann
0
关注者
4
投票
0
评论
Jona Wilmsmann 进行了评论,
I struggle to set the value of the description field and was wondering if anyone had a similar experience:
$(document).ready(function () {
// Hide subject and description
const ticketForm = $("#request_issue_type_select").val();
if (ticketForm == 360001444300) {
$('.form-field.string.required.request_subject').hide(); // Hide subject
$('.form-field.request_description').hide(); // Hide description
$('#request_subject').val('Test subject'); // Autofill subject
$('#request_description').val('Test description'); // Autofill description
}
});
Using this code, I am able to hide both the subject and description fields, however when then submitting the form, it fails. Removing the part that hides the fields, I can see that the "Test subject" is entered into the subject field, but the description field is empty. I can also see that the reason why the submit fails is because the description field is empty.
Does anyone have a suggestion for how to fix that?
查看评论 · 已于 2021年2月11日 发布 · Jona Wilmsmann
0
关注者
4
投票
0
评论