HTML Hidden Field

From RadPHP XE2 Documentation
Jump to: navigation, search

HTML Hidden Field component is a hidden field. It is useful in a form to send information not directly entered by the user (generated with the page or with JavaScript) on submit.

Code

When you drop an HTML Hidden Field in a document, the component generates this code:

<input type="hidden" />

Properties

Note: You are most likely not going to use most properties for this component.
Name Values Description
accept

MIME types Comma-separated list of MIME types that can be submitted through a file upload. Avoid using this property, file uploads should be validated on the server-side.
accesskey

character Keyboard shortcut to access the component.
alt

text Alternative text for an image input.
class

string List of space-separated class names. The style of those classes will affect the component.
dir

ltr
rtl
Direction of the text, left-to-right (ltr) or right-to-left (rtl).
disabled

disabled If set, component is unusable and un-clickable.
id

string Unique combination of characters that identifies the component.
lang

language code Language of the most part of the content of the component. It must be an ISO 639 language code.
maxlength

number Maximum length in characters of an input field for one-line text or password.
name

name Name of the component.
onblur

scripting code Event handler that captures the moment that the component loses focus.
onchange

scripting code Event handler that captures the moment that the component changes.
onclick

scripting code Event handler that captures a click event on the component. (Equivalent to onmousedown followed by onmouseup)
ondblclick

scripting code Event handler that captures a double-click event on the component. Note onclick event handler will fire before ondblclick event handler.
onfocus

scripting code Event handler that captures the moment that the component gets focus.
onkeydown

scripting code Event handler that captures the moment that a key is pressed down but has not yet been released.
onkeypress

scripting code Event handler that captures a completed key-press-and-release sequence (equivalent to onkeydown followed by onkeyup) while the component has focus.
onkeyup

scripting code Event handler that captures the moment that a previously pressed key is released while focus is on the component.
onmousedown

scripting code Event handler that captures the moment that the mouse button is pressed down but has not yet been released.
onmousemove

scripting code Event handler that captures identifies any movement of the cursor.
onmouseout

scripting code Event handler that captures the moment that the cursor moves from the inside to the outside of the component.
onmouseover

scripting code

Event handler that captures the moment that the cursor moves from the outside to the inside of the component.
onmouseup

scripting code Event handler that captures the moment that the previously pressed mouse button is released while focus is on the component.
onselect

scripting code Event handler that captures the moment that the component is selected.
readonly

readonly If set, input field for one-line text or password will be read-only.
src

URL URL of an image to display as submit button when input element is of type image.
style

css code CSS code defining a style to be applied to the component.
tabindex

number Tabulation order of the component.
title

string Descriptive title of the component. It usually renders as a tooltip users get when covering the component with the cursor for a while.
usemap

#mapid Image map to be used with an image input.
value

value Value of the input element. For this component, it is the text displayed on the button too.
xml:lang

language code Same as the lang property, and should have the same value. It is needed in XHTML documents.

See Also

Personal tools