Collapse Appended Text for Multiple Line text field


Posted by webset - Nov 21 ’15 at 01:05

We have a MultipleLine textfield in which we set the "Append Changes to Existing Text" option to "Yes."

It works great, but there are many appended Comments and so the form ist very long and not so useful.

Is there a way to collapse each comment in the Form?

  • rostislav
    Member for: 7 years 9 days
    #1 by rostislav Nov 23 ’15 at 08:20

    I've made the assumption you're asking about the enhanced rich text multiline textbox. You can use an accordion for this. Add this code to the JS editor of your form:

    fd.field('multiline').control()._el().find("> div").attr('class', 'comments-collapsible').find(" > div[class^='ExternalClass']").each(function(){
    	var html = "<h3>" + $(this).text().substring(0,60) +"</h3>";
      collapsible: true,
      active: false


    And replace 'multiline' in fd.field('multiline') with the internal name of your multiline field.


    This should produce something looking like this:


    More information on the accordion control, how you can customize it:

  • KeiraRowley
    Member for: 1 year 2 months 10 days
    #2 by KeiraRowley Apr 1 ’21 at 08:19

    Surely, the visitors of the are engrossed for the future tasks. The process of the proposal development in research is uphill task. This professional group fulfils all the requirements for the audience.

  • Nash233
    Member for: 5 months 18 days
    #3 by Nash233 Feb 26 ’22 at 03:47

    Air fryers have been around for a few years now, and they are gaining more popularity every day. While they may cost between $100 and $400, they are worth every penny.

  • masterpaper
    Member for: 2 months 13 days
    #4 by masterpaper Mar 4 ’22 at 03:10

    A task is a piece of work that you are given by your mentor to be finished external class time. On the off chance that you are Write My Essay For Me Cheap given examination tasks, frequently the material grouped from the exploration will show up in paper design. The outcomes would be grouped and introduced in an article design.

Displaying 1 to 4 of 4 messages