cancel
Showing results for 
Search instead for 
Did you mean: 
Workflow Hero

Attachment control not resizing the filename within form area

Jump to solution

I have a problem with attachment control resizing property. Some filenames in my forms get too lengthy and attachment controls are placed inside a panel. for the filenames with long names, the delete option does not appear. But when i place the same control outside of the panel, it works just fine. Below is an example of attachment with same file both in and out of the panel in edit mode.

Labels: (1)
0 Kudos
Reply
2 Replies
Workflow Hero

Re: Attachment control not resizing the filename within form area

Jump to solution

I would first suggest trying to build your form to accommodate for extremely long filenames rather than expect it to expand the form.

I don't have a good answer on how to make the panel auto-expand like the form does.

As a band-aide fix, you could try this code, which which will swap the Delete and Filename columns when you click the table so that the Delete column is first and therefore always visible. (I don't suggest this as a longtime fix though.)

NWF$(".nf-attachmentsTable").click(function(){
     NWF$("table tr").each(function() {
          NWF$(this).children(".ms-propertysheet").after(NWF$(this).children(".ms-vb"));
     });
});

It does require you to click the table to swap the columns though. 




SharePoint 2013 On-Prem | Nintex Forms & Workflow Enterprise
Reply
Workflow Hero

Re: Attachment control not resizing the filename within form area

Jump to solution

Thanks for the tip there Chad, the column swap definitely is a great temporary solution. It works for now.

0 Kudos
Reply