Transaction API

upload

upload tag

Adds file upload input to the page. Only one upload input can be rendered on page. If a validate function is provided, it will be used first in the local script if provided, then in the context of the container page. If you use a storage provider, only allow one specific upload type.

Tag Attributes
Attribute Notes
action
ajax-handler
limit
allow Required
style
class
test
silent
stylesheet
uploadText
ajax-target
multiple
fragment
script
validate
cancelAction
cancelText
provider
providerSettings
head
workflow

Sample:

<c:upload style="" action="x" limit="300" allow="pdf,word"/>

<c:upload ajax-handler="function" limit="300" allow="office" silent="false"/>

<c:upload action="processUpload" limit="${maxUpload}" stylesheet="upload.css" allow="office" class="upload" uploadText="Continue" script="upload.js" validate="preCheck"/>
Copyright © 2006 - 2025, ContractPal, Inc. All rights reserved. API Date: May 13, 2025 07:00 AM