title: Custom listforms and problems with Attachments and Rating
body: <p>Ok, we're having a problem while developing a SharePoint 2010 site containing a number of customizations. We've created a number of custom listforms on a custom list, including a new NewForm.aspx, a new EditForm.aspx and a DispForm.aspx.</p>
  
  <p>I've customized these forms using SharePoint Designer 2010, adding a new DataFormWebPart to the page (leaving the original ListFormWebPart intact, but hidden) en customized the XSLT.</p>
  
  <p>Now, everything works like I want it to, but I can no longer upload attachments to my listitems. Only my AllItems.aspx still has a working Attachment-button on the Ribbon, on all my customized forms it's grayed out and says: "This control is currently disabled".</p>
  
  <p>Another problem, which I suspect is related: I've enabled the out-of-the-box Rating functionality on the list. The field renders fine on all my forms and I can click it, after which it shows that I've entered a rating. But, when the page is reloaded or the user leaves for another page, the Rating is not saved to the listitem. </p>
  
  <p>I'm working using site collection administrator permissions, so I think we can exclude a permissions-related cause. Also, I can upload attachments using the AllItems.aspx, so the list itself is fine... Maybe I'm missing some essential JavaScript because of the DataFormWebParts?</p>