_createFromPdf

Creates a Form from a PDF.

Parameters

name

The name of the PDF.

Example

FM_api('Form_createFromPdf', ['name' => 'example.pdf']);

Results

On Success

{'ok':1,'id':123}

On Failure

{'error':'Name not set'}

OR

{'error':'Uploaded file must be a PDF','filename':'wrongfile.pdf'}

OR

{'error':'No file uploaded'}

Last updated