Hello everyone,
I have faced the problem with accessing form fields.
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 collection, but it does not contain any of 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.
I have faced the problem with accessing form fields.
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 collection, but it does not contain any of 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.