O'Reilly logo

SharePoint 2013 WCM Advanced Cookbook by John Chapman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating a survey InfoPath form that gets locked after submission and populates the SharePoint fields

In this recipe, we will create a simple survey form template that switches to a read-only view of the form data when it is opened again.

How to do it...

Follow these steps to create a survey form template:

  1. Create a new SharePoint Form Library form template in InfoPath Designer.
  2. Add a few labels and controls for the survey input.
    How to do it...
  3. Select the whole table, including the labels and fields.
  4. Copy the selection to the clipboard.
  5. Add a new view to the form template named Submitted.
  6. Paste the selection to the new view.
  7. For each control in the Submitted view, set the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required