0

I have two date fields that I need my end users to see but not modify. How can I achieve this in the best manner? I am not very versed in code so any detailed ideas you can provide would be great!

1

You can try Dynamic Forms by Alexander Bautz. It consists in modifying the Edit Form WebPart and adding a Content Editor Web Part to add the Javascript Code. I have tried it in SharePoint 2013 and it works well.

To edit the form web part use the ribbon of the Tasks Lists or SharePoint Designer enter image description here

  • I am on Sharepoint 2007. Can I use this on that level? – Callie Oct 7 '13 at 15:43
  • Yes. In SharePoint 2007 go to EditForm and insert toolpaneview=2 behind the URL in this format: …/EditForm.aspx?ID=[an existing id from your list]&toolpaneview=2 Press Enter and you should be able to add a CEWP to the page. – Alvmad Oct 7 '13 at 15:53
0

By default there isn't a way to make a field read only if users have permission to modify the list.

There are a few code options however but if you want to avoid that path then the only solution I can think of is running two task lists and create the read only fields as a lookup from one list to the other.

This guide from MS might be of use List lookup columns

  • Sorry about that - it is in a task list. They need to be able to modify some of the fields in the task but not all of them. So, basically need to make specific fields read only. – Callie Oct 7 '13 at 14:44
  • How do I do the two task lists option? – Callie Oct 7 '13 at 14:56
  • Is there a relatively simple code option I can use? I am good at following directions :) – Callie Oct 7 '13 at 15:41
  • I can't get the lookup to look up a date field. It does not show the date field as an option to choose. – Callie Oct 7 '13 at 16:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.