1

I already have the attachment first in my list order but it always appears on the bottom of the form that opens up when you edit the item which makes it hard to navigate to for users. Is their a way to move it to the top or link to the attachment with the paperclip icon on the list?

enter image description here

1 Answer 1

1

Yes create a new display form and move this field

<td valign="top" class="ms-formbody" width="80%">
                        <SharePoint:FormField runat="server" id="AttachmentsField" ControlMode="Display" FieldName="Attachments" __designer:bind="{ddwrt:DataBind('u','AttachmentsField','Value','ValueChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@Attachments')}"/>
                        <script>
      var elm = document.getElementById(&quot;idAttachmentsTable&quot;);
      if (elm == null || elm.rows.length == 0)
      document.getElementById(&quot;idAttachmentsRow&quot;).style.display=&apos;none&apos;;
    </script>
                    </td>

In the top row of the html table

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.