Home Analyst Portal

Expand 'User Input' On Review Activity for end user.

Dean_LinternDean_Lintern Customer IT Monkey ✭

When an end user goes into a review activity they are able to see certain form data. One of the fields is 'User Input'.  As default this is collapsed.  Is it possible to have the default expand as standard?


  • Tom_HendricksTom_Hendricks Customer Super IT Monkey ✭✭✭✭✭
    This is not a very elegant solution, but it is simple and should be effective.  In your custom.js file, add this line of code (preferrably tell it to only run on a RA page by looking at the URL, but that's outside this conversation):

    $('.panel-title a').trigger('click');

    Rather than trying to find the value that this is bound to and changing it, (harder than it sounds, but possible I'm sure), just simulate a click.

    It may be necessary to wait for the page to fully load, in which case I would use a mutation observer (seen in many code examples on this forum for the same reason) to watch for the elements to exist first.
Sign In or Register to comment.