Contact | Privacy | Datenschutzerklärung | Impressum

Component formbutton

Description

Form button. The button must be used on a form. The value is used to render the button. Name must be a unique name for the button inside the form. Use the extend button to program an action that is performed when the button is pressed.

Format

< formbutton ... > ... < /formbutton >

Details

Component must be used inside a form.
Include File: formfields.hei
Session Mode: none

Properties

Property Kind Description
NameString(10) Button name, used internally to identify the button, must be unique within a form. 
ValueString(10) Button Label, appears as text on the button 
LayoutString(60) Input is a standard HTML submit button, image shows an image on the button, link creates a link (needs JavaScript), compatlink a link or button depending on the browser, button an HTML4.0 button (must occur just once at end of form), mbutton an HTML 4.0 button (needs JavaScript), and compatbutton an HTML 4.0 button or normal button depending on the browser;  
TypeString(60) Select the button's action:
Value "reset" resets the fields to their initial values.
Other values submit the form.
 
SrcString(20)  Image Url, only used for layout=image  
BorderInteger Border Size, only used for layout=image  
StateString(60) Is button disabled? 

Hooks

Process (pff) Process is called when the button is pressed and all form fields are checked correctly. pff is the tuple containing the form fields. It can be read or written. Return value can be an error message string, null, or false. Note that the form processing is considered successful only if null is returned. If false is returned no error message is shown but form processing in considered not successful. See for a detaile description on the form processing process.


This page was dynamically generated by the web application development tool RADpage of H.E.I. H.E.I. provides support, tools, and services like Webdesign in Mannheimm, the HTML/CSS 3D WebGL Animation Library taccgl, 3D Webdesign, and 3D Product ConfiguratorDemo (3D Produkt Konfigurator Demo in German).
© 1996-2024 H.E.I. All Rights Reserved.



Homepage
Intro/Features
Component Guide
Programming
  Language Guide
  Language Ref.
  Component Ref.
    Concepts
    Component List
    Component Table
  Class Library
  User Components
  Tutorial
  New Features
  heitml 1
User Guide
Services
Privacy
Datenschutz
 
Contact / Impressum