Expand Description by default | Community
Skip to main content

Expand Description by default

  • April 15, 2020
  • 2 replies
  • 0 views

In a service catalog request, we use the Description field to push "help" type information to the end user.  That information is important but by default, it's not all visible.  How can I make the entire description field visible when the form loads?

This topic has been closed for replies.

2 replies

Hi Brian,


We can achieve this via portal customization such that the ‘Description’ of each service item is expanded by default in the requester portal.


Let me create a support ticket for you so that we can assist you with your requirements. 


Regards,

Sanofar


Hello All,


The ‘View More’ option shown in the service item forms in the requester portal can be removed such that the description is expanded by default. This can be done via Portal Customization feature which is available in Estate and Forest plan.


Here is how you can disable the ‘View More’ toggle:


Step 1: Navigate to Admin >> Helpdesk Rebranding >> Customize Portal Layout & pages >> Portal Layout


Step 2: Paste the below code snippet at the bottom of the Page Layout section and click on Save and Publish


<script>
jQuery(document).ready(function(){
setTimeout(function(){
jQuery('a:contains(View more)').click()
jQuery('a:contains(Hide)').hide();
}, 800);
});
</script>



We hope this helps. Please reach out to us at support@freshservice.com for further queries.


Regards,

Sanofar