Recent searches
No recent searches

Administrator
Joined May 28, 2021
·
Last activity Feb 14, 2022
Following
0
Followers
0
Total activity
4
Vote
1
Subscription
1
ACTIVITY OVERVIEW
BADGES
ARTICLES
POSTS
COMMUNITY COMMENTS
ARTICLE COMMENTS
ACTIVITY OVERVIEW
Latest activity by Administrator
Administrator commented,
For anyone who is interested, support gave me this code instead and it works great.
var fieldValue = $('.request-details dd');
$.each(fieldValue, function(i, val){
var dd_text = $(val).text();
if (dd_text=="-") { $(val).prev().hide(); $(val).hide();
}
});
View comment · Posted Jan 07, 2015 · Administrator
0
Followers
0
Votes
0
Comments
Administrator created a post,
I have custom fields and forms and some fields don't appear on certain forms. However, when an end user goes to their ticket, they see all the fields and not just the ones associated with that form. How can I get the Help Center my activities screen to only populate the fields with data? I have this JS logic but have been unable to get it to work. Worse yet, if I modify the theme at all, the "Add reply" button doesn't show up.
$('.request-details dd').each(function() {
var fieldValue = $(this);
if (fieldValue.text() === '-"')
{
fieldValue.prev().remove();
fieldValue.remove();
}
});
Ideas?
Posted Jan 06, 2015 · Administrator
0
Followers
9
Votes
14
Comments