최근 검색
최근 검색 없음

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
댓글