Console API

button

button tag

This tag creates an input element of type button with the given value and other attributes. If a test directive is supplied and the directive evaluates to false, the button will not be created. For client-side validation, provide your validation function in the validate attribute. Your function must return true or false and take a single parameter, the form object. An ajax-handler is used in conjunction with file uploads. See sample for more information.

Tag Attributes
Attribute Notes
action
test
disabled
title
out-class
over-class
value Required
style
class
id
confirm
ajax-target
validate
ajax-handler
tabindex
workflow

Sample:

<c:button action="showOptions" value="Options" style="font-size:10pt;color:blue"/>
<c:button action="delete" value="Delete" class="button" confirm="Are you sure you want to delete this?"/>
<c:button action="sendForm" validate="myClientValidationFunction" value="Submit"/>
<c:button action="getResults" ajax-target="divIdForResult" value="Submit"/>
Copyright © 2006 - 2026, ContractPal, Inc. All rights reserved. API Date: Jul 25, 2026 05:05 PM