Home > @i2analyze/i2connect > services > IFormServiceConfig > formIsMandatory
services.IFormServiceConfig.formIsMandatory property
Indicates whether the form should be presented to the user even if there are no mandatory conditions.
Signature:
formIsMandatory?: boolean;
Returns: boolean
Introduced: API version 2.3
Remarks
Use this setting to prevent users from submitting a query without opening the form. For example, a service might require some conditions to have values, despite no individual condition being mandatory. You can use custom validation to enforce this kind of rule.