15.08.2013 Views

Ektron® eWebEditPro Developer's Reference Guide

Ektron® eWebEditPro Developer's Reference Guide

Ektron® eWebEditPro Developer's Reference Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

EkFormFieldValue<br />

Automatic Upload<br />

Description<br />

This method retrieves the value of a specific field in the binary form data passed<br />

to it. It can retrieve the value of a text area, a list box selection, or any other item<br />

that exists in the file.<br />

Parameters<br />

Parameter Type Description<br />

BinaryFormData Variant(String) The entire form data in binary form.<br />

FormFieldName Variant(String) The name of the field used in the original form. Any form<br />

field name used in your original form. Fields with<br />

type="file" only return the filename submitted by the<br />

user.<br />

ErrorCode Variant(Number) This is a user supplied variable. This is set to 0 (zero) for<br />

successful execution. Otherwise, it is set to a server<br />

error code.<br />

ReturnedFormField<br />

Value<br />

Example<br />

ReturnedFormFieldValue = fileObj.EkFormFieldValue("BinaryFormData", "FormFieldname",<br />

ErrorCode)<br />

EkFileSize<br />

Variant(String) If ErrorCode (see above) is 0 (zero), this contains the<br />

actual form field value. If ErrorCode is 0, this<br />

contains a matching error string.<br />

Description<br />

See Also: ”FileSize” on page 484<br />

Parameters<br />

Parameter Type Description<br />

BinaryFormData Variant(String) The entire form data in binary form.<br />

FormFieldName Variant(String) The name of the field used in the original form. Only<br />

fields with type="file" return a valid size. The size is<br />

in bytes.<br />

ErrorCode Variant(Number) This is a user-supplied variable. This is set to 0 (zero)<br />

for successful execution. Otherwise, it is set to a server<br />

error code.<br />

<strong>Ektron®</strong> <strong>eWebEditPro</strong> Developer’s <strong>Reference</strong> <strong>Guide</strong>, Release 5.1, Revision 1 480

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!