You are not logged in. Your edit will be placed in a queue until it is peer reviewed.
We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.
- Hi thank you for your answer. The reason for removing options from the choice field is because some periods will be closed and it should not be possible to select the old values. But, in the old items the old period values must be populated. So I try to only remove some values from the dropdown in the quick edit if a user click on the choice field.... I don't know how the read only helps me here or i didn't understood your explanation...theface– theface2018-03-01 12:19:58 +00:00Commented Mar 1, 2018 at 12:19
- My answer was based on what I could surmise from your original description and was partially to elicit further details. I wanted to leave a comment but, my lowly reputation disallows it... Read only won't really apply here I suppose. Do you have a "Status" column indicating when an item is closed? You could use that value to trigger read only on the Period column. Of course you would then want to also make the "Status" column read only once set to closed.AtariPixel– AtariPixel2018-03-01 12:29:29 +00:00Commented Mar 1, 2018 at 12:29
- The problem is not the read only on the columns. It is more the selectable options on the dropdown which are populated by the system ... I can not remove values with javascript/jquery or change the choices on the array of the field...theface– theface2018-03-01 13:11:16 +00:00Commented Mar 1, 2018 at 13:11
- Why would you need to remove values with JavaScript when you could just change the select column fields? If an item is closed, the Period column becomes read-only and will never change. Then, you can just change the choices in the Period column. Anyway, just an idea.AtariPixel– AtariPixel2018-03-01 13:53:19 +00:00Commented Mar 1, 2018 at 13:53
- I have to remove this values from the dropdown because a administrator should be able to change this values. This will be done by a powershell in the background... A normal user don't have the permissions to change old values but it must be saved in the list for reporting etc. If a new item is added by a user, the old periods must be removed from the choice dropdown.theface– theface2018-03-01 14:40:40 +00:00Commented Mar 1, 2018 at 14:40
Add a comment |
How to Edit
- Correct minor typos or mistakes
- Clarify meaning without changing it
- Add related resources or links
- Always respect the author’s intent
- Don’t use edits to reply to the author
How to Format
- create code fences with backticks ` or tildes ~ ```
like so
``` - add language identifier to highlight code ```python
def function(foo):
print(foo)
``` - put returns between paragraphs
- for linebreak add 2 spaces at end
- _italic_ or **bold**
- indent code by 4 spaces
- backtick escapes
`like _so_` - quote by placing > at start of line
- to make links (use https whenever possible) <https://example.com>[example](https://example.com)<a href="https://example.com">example</a>
How to Tag
A tag is a keyword or label that categorizes your question with other, similar questions. Choose one or more (up to 5) tags that will help answerers to find and interpret your question.
- complete the sentence: my question is about...
- use tags that describe things or concepts that are essential, not incidental to your question
- favor using existing popular tags
- read the descriptions that appear below the tag
If your question is primarily about a topic for which you can't find a tag:
- combine multiple words into single-words with hyphens (e.g. sharepoint-online), up to a maximum of 35 characters
- creating new tags is a privilege; if you can't yet create a tag you need, then post this question without it, then ask the community to create it for you
default