I. Overview
1.1 Problem description
Sometimes we want to remove unnecessary mail formats. As shown below:
All mail formats:
Keep only the required format:
1.2 Solutions
By adding JS events, unnecessary mail formats can be removed.
II. Operation Steps
Click Template > WEB Attributes > Pagination Preview, select Individually set for the template, and then add a Loading End event. As shown below:
JS looks like this:
$('#fr-btn-Email').click(function(){
//Loop through the value of mail drop-down box
$('.fr-combo-list-item').each(function(){
//Judge the mail format (can be changed according to your needs)
if($(this).find('.fr-widget-click').html()!=='PDF')
{ //Remove formats
$(this).remove();}
})
});