SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have faced the problem with accessing form fields in Sharepoint foundation 2013.

Idea is to update some field automatically when new form opens. I created a custom web part and attached it to the new form. I tried to access : SPContext.Current.FormContext.FieldControlCollection form field control collection, but it does not contain any form fields. Instead there are some hidden fields that are not needed for me.

There was no problem with accessing form fields in SharePoint 2010, but in SharePoint 2013 it seems that it is a bug.

I hope that someone have already faced the same problem and will provide some solution or recommendations how to deal with this issue.

Besides, The same problem is in both sharepoint 2013 versions (foundation and server)

Thanks, Karolis

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.