最近搜索
没有最近搜索

Ifra Saqlain
已加入2021年4月15日
·
最后活动2024年11月16日
关注
0
关注者
32
活动总数
1360
投票
42
订阅
316
活动概览
标记
文章
帖子
社区评论
文章评论
活动概览
的最新活动 Ifra Saqlain
Ifra Saqlain 进行了评论,
Hi Marina Kutt,
Can I get URL of both HC to fix this issue. I think you need to use segments for your HCs.
Thank You
Ifra
查看评论 · 已于 2024年10月22日 发布 · Ifra Saqlain
0
关注者
1
投票
0
评论
Ifra Saqlain 进行了评论,
Hey Hannah, I'm good I hope you also.
You can use this code to autofill and then hide the both fields.
Step 1: Remove 'wysiwyg=true' from the form.
Current-

After-

Step 2: Add this given code at the bottom in the script file.

Code-
if (window.location.href.indexOf("360003074611") > -1) {
document.querySelector('#request_subject').value= "Write your text for subject field.";
document.querySelector('#request_description').innerHTML= "Write your text for description field.";
document.querySelector('.request_subject').style.display= "none";
document.querySelector('.request_description').style.display= "none";
}
You need to remove my form ID and add your form ID where you wanna hide these fields.
First, open that form and then you will see the form ID in the search-bar.

Copy that and add in the script code here:
if (window.location.href.indexOf("Add Here") > -1) {
If any query Feel free to ask :)
Thanks
查看评论 · 已于 2024年10月02日 发布 · Ifra Saqlain
0
关注者
0
投票
0
评论
Ifra Saqlain 进行了评论,
Hi Christian Espinosa, thanks for the new version of code. I appreciate for your contribution :)
查看评论 · 已于 2024年8月21日 发布 · Ifra Saqlain
0
关注者
0
投票
0
评论
Ifra Saqlain 进行了评论,
Hi Lee,
You missed the inverted coma, try this and let me know :)
$(document).ready(function() {
removeOptions();
});
function removeOptions() {
$('.nesty-panel').on('DOMNodeInserted', function(e){
for(var i in optionsToRemove) {
$('li#' + optionsToRemove[i]).remove();
}
});
};
if (window.location.href.indexOf("900000000000") > -1) { // Ticket form ID for hide the drop down option
var optionsToRemove = ['etc', 'voc']; // Ticket field option tag
removeOptions();
}
Thanks
查看评论 · 已于 2024年8月19日 发布 · Ifra Saqlain
0
关注者
0
投票
0
评论
Ifra Saqlain 进行了评论,
Hi Ivette Lavin,
Do you have sidebar but subsections are not showing in that?
If you explain your use case then I can answer your query better.
Thanks :)
查看评论 · 已于 2024年8月09日 发布 · Ifra Saqlain
0
关注者
0
投票
0
评论
Ifra Saqlain 进行了评论,
查看评论 · 已于 2024年8月09日 发布 · Ifra Saqlain
0
关注者
0
投票
0
评论