Api.CreateTextForm is not a function

Do you want to: Suggest a feature / Report a bug / Ask a how-to question
For feature suggestions, describe the result you would like to achieve in detail:
For bug reports, provide the steps to reproduce and if possible a minimal demo of the problem:
DocumentBuilder version: 7.2
Installation method: download zip
OS: windows 11
docbuilder.exe ./samples/test.docbuilder

test.docbuilder:

builder.CreateFile("docx");
var oDocument = Api.GetDocument();
var oTextForm = Api.CreateTextForm({"key": "Personal information", "tip": "Enter your first name", "required": true, "placeholder": "First name", "comb": true, "cellWidth": 3, "multiLine": false, "autoFit": false});
var oParagraph = oDocument.GetElement(0);
oParagraph.AddElement(oTextForm);
builder.SaveFile("docxf", "CreateTextForm.docxf");
builder.CloseFile();

is Error

execute_run_code: var oTextForm = Api.CreateTextForm({"key": "Personal information", "tip": "Enter your first name", "required": true, "placeholder": "First name", "comb": true, "cellWidth": 3, "multiLine": false, "autoFit": false});
execute_run: Uncaught TypeError: Api.CreateTextForm is not a function

online is work

builder.CreateFile("docx");
var oDocument = Api.GetDocument();
var oTextForm = Api.CreateTextForm({"key": "Personal information", "tip": "Enter your first name", "required": true, "placeholder": "First name", "comb": true, "cellWidth": 3, "multiLine": false, "autoFit": false});
var oParagraph = oDocument.GetElement(0);
oParagraph.AddElement(oTextForm);
builder.SaveFile("docxf", "CreateTextForm.docxf");
builder.CloseFile();

Hello @huzedong2022
We are checking the situation. I will update this post when we have something to share.

Use ONLYOFFICE DESKTOP and open the Dbug mode to learn better

Hello @huzedong2022
Sorry for the late reply. It took us some time to figure out the situation.
Thank you for valuable data. We’re going to fix mentioned scenario in DocumentBuilder v.7.3. We’re planning to release v.7.3 as soon as possible.