Tunnel API

button

Other API in Package

Web

User

Internal Tunnel

Internal Web

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
value Required
style
class
id
confirm
ajax-target
validate
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 - 2024, ContractPal, Inc. All rights reserved. API Date: Jul 15, 2024 03:42 PM