ACF Library

FormField

Back to List

Description: Create field part in Multipart/Formdata request

FileMaker Prototype:

Set Variable [$res; ACF_Run("FormField"; string_vb;  string_name;  string_content)]

Category: REST API

Function source:

function FormField (string vb, string name, string content)
   return format ('%sContent-Disposition: form-data; name="%s"\r\n\r\n', vb, name) + content + "\r\n";
end

The FormField Function create a single field form part in a Multipart/formdata message.

Example

Set Variable [$res; ACF_Run("FormField"; string_vb;  string_name;  string_content)]

To see the API example, look at the FormAttachement function.

Back to List