Reference Guide
Reference Guides / JavaScript API / Actions / Document / UpdateFormFields
In This Topic
    UpdateFormFields
    In This Topic
     UpdateFormFields

    This function updates one or more form fields for the currently loaded document into the specified DocuVieware™ viewer.

    UpdateFormFields: function (docuViewareID, formFields, success, error)

    Parameters

    docuViewareID
    The identifier for the DocuVieware™ instance.
    formFields
    An object or an array of object that contains the form field properties (see below for object structure).
    success
    A function that will be executed upon success.
    error
    A function that will be executed upon error.

    Return Value

    0 if error, 1 if sucess

    Remark

    This method has been designed to be used together with the GetPageFormFields method, the first step is to retrieve the form fields, change the properties of the objects you need and send them back using this method.

    See Also