Skip to content

libcURL.MultipartForm.AddElement

Andrew Lambert edited this page Jun 5, 2015 · 30 revisions

#libcURL.MultipartForm.AddElement

##Method Signature

 Function AddElement(Name As String, Value As Variant) As Boolean

##Parameters

Name Type Comment
Name String The name of the form element (i.e. the name attribute of the HTML <input> tag)
Value Variant A string or folderitem

##Return value Returns True if the operation succeeded. Check MultipartForm.LastError for the error number if this method returns False.

##Notes Pass a string to set a string element or a folderitem to set a file upload element.

##See also

Clone this wiki locally