Checks if the current form is required.
This method doesn't have any parameters.
builder.CreateFile("pdf"); var oDocument = Api.GetDocument(); var oDateForm = Api.CreateDateForm({"key": "Nowadays", "tip": "Enter current date", "required": true, "placeholder": "Date", "format": "mm.dd.yyyy", "lang": "en-US"}); var oParagraph = oDocument.GetElement(0); oParagraph.AddElement(oDateForm); var bRequired = oDateForm.IsRequired(); oParagraph = Api.CreateParagraph(); oParagraph.AddText("The first form from this document is required: " + bRequired); oDocument.Push(oParagraph); builder.SaveFile("pdf", "IsRequired.pdf"); builder.CloseFile();