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.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for