Read-Only field in forms 6 steps (en)


Make field in form read only deen title
,

I will show you here how to set the priority field as read-only in your form. Pictures are in German, but in english there isn’t a huge difference.

Everything will be done in just 6 steps!

Here is the default view of an task list form without the read-only field:

Make field in form read-only (deen)_1

  1. Open your list in SharePoint Designer. The fastest way is like in the following picture.

Make field in form read-only (deen)_2

2. Create a new form.

Make field in form read-only (deen)_3

3. I created a new form for new entries / items / tasks (be sure to give it a new name e.g. “CustomNewForm”, set it as a “newForm” and set it as default)

Make field in form read-only (deen)_4

4. Open the newly created form in advanced mode. (just right click onto the form and then … advanced mode)

Make field in form read-only (deen)_5

5. Now look for you field (in this case “Priority”) and the important part here is the ControlMode. This is set to “new” (because of the newForm).

Make field in form read-only (deen)_6

6. Change those two values from “New” to “Display” and save the form.

Make field in form read-only (deen)_7

After that, if you create a new entry / item / task in your list, the priority field should be read-only.

Make field in form read-only (deen)_8

And that is all you have to do. Of course you can do this with every other field. It depends only on the ControlMode of each column.

This is kind of a extension to my previous blog post. If you don’t understand everything maybe you can take a look into that.

2 responses to “Read-Only field in forms 6 steps (en)”

  1. Hello,
    I have tested this with success. How can i do the same in a Edit Form? I have two fields that should be read only

    Thanks!
    Nuno

Leave a Reply

Your email address will not be published. Required fields are marked *