setRequiredLevel (Client API reference)
Sets whether data is required or recommended for the column before the record can be saved.
Important
Reducing the required level of a column can cause an error when the page is saved. If the column is required by the server, an error will occur if there is no value for the column.
Column types supported
All
Syntax
formContext.getAttribute(arg).setRequiredLevel(requirementLevel)
Parameters
Type: String.
Description: Set the level to one of the following values:
- none
- required
- recommended
Related article
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin