Forum Discussion
Make a FIeld not required
I have a Sharepoint List name "Delivery Orders"
But I have add 3 content type to this List.
3 Content Type have the Item Content Type is the Parent Content type so that have Title Column.
I have set the Title Column in 3 Content type to Optional in both the Site Content type and List Content type.
3 Site Content Type -> Title-> "Optional":
3 List Content Type -> DO Number -> "Optional":
But when I finished the Form, it require me to fill the DO Number (that Title Column renamed)
How can I fix that?
I can use PnP PowerShell, if you have script that change the Require Column -> non Require Column, please share to me.
Note that: This List have use 3 Content Type.
10 Replies
- Rachel_DavisIron Contributor
Once you enable content types, the required option moves from the list field to the content type. You'll have to open the content type and edit the required/optional/hidden choice for that field in each content type separately.
To complicate matters here, is the fact that you're DO number looks to be the default Title field. The Title field is an important field and you need to be careful with it as it is the main identifying field and it does behave a little bit differently from other fields. Keep in mind that this is the field people will click to open the item form, so leaving it blank is not a good best practice.
It's fine to rename the Title field. I do it all the time. But the Title field is always required. If you need the DO number to be optional, I would either pick another field to use as the Title field or add a default value like "Enter DO number". That way there is always a value (which fulfills the requirement) and it's a static value so easy to filter or program around.
- Even thou the content types are set. You still need to go to the column itself in the columns section on the list settings and make it not required on the column settings. It overrides the content type.
- ca_remBrass Contributor
ChrisWebbTech. I click on the Column Field but no setting to make it not required.
Can you give me another advise?
- I don’t know if it matters or not. It you can’t have blank values and unique checked too