Ricerche recenti


Nessuna ricerca recente

Grace Mun's Avatar

Grace Mun

Data ingresso 13 lug 2022

·

Ultima attività 13 gen 2023

Seguiti

0

Follower

0

Attività totali

7

Voto

1

Abbonamenti

4

PANORAMICA ATTIVITÀ

Ultima attività di Grace Mun

Grace Mun ha commentato,

Commento nella community Q&A - Tickets and email

Hey Pulkit Pandey, would this code block anonymous users from submitting a request in general? 

We still want anonymous users to be able to submit a request, there's just a specific form we want to hide from them. 

I've set up the code below and it seems to work actually:

//To hide a form from anonymous users
jQuery( document ).ready(function() {
if (HelpCenter.user.role=="anonymous"){
var tagsToRemove = ['insert form ID'];  
function removeTagsWeDontWant() {
$('.nesty-panel').on('DOMNodeInserted', function(e){
for(var i in tagsToRemove) {
$('li#' + tagsToRemove[i]).remove();
}
});
};
removeTagsWeDontWant();
}
})

Visualizza commento · Data ultimo post: 13 gen 2023 · Grace Mun

0

Follower

1

Voto

0

Commenti


Grace Mun ha creato un post,

Post Q&A - Tickets and email

Is there a way to restrict a specific ticket form from being visible to anonymous users i.e. Help Center visitors who are not signed in? We have different personas accessing our public Help Center and ideally, this specific form is not available from the drop-down field on the new request page unless they're signed in. 

I've seen the other Community posts where you can restrict form viewing permissions based on the organization name or user tags, and how you can restrict the "submit a request" button entirely, but unfortunately, none of these existing posts solve this specific use case. 

Data ultimo post: 09 gen 2023 · Grace Mun

1

Follower

6

Voti

9

Commenti