setIsValid (Client API reference)
Sets a value for a column to determine whether it is valid or invalid with a message.
Column types supported
All
Syntax
formContext.getAttribute(arg).setIsValid(bool, message);
Parameters
Name | Type | Required | Description |
---|---|---|---|
bool |
Boolean | Yes | Specify false to set the column value to invalid and true to set the value to valid. |
message |
String | No | The message to display. |
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för