This module contributes the following Components to the language:
form- the wrapping HTML<form...></form>component otherHTML form tag components. Produces an HTML form.input- the<input.../>HTML form componentselect- the<select ... ></select>HTML form componentslider- generates an HTML 5 input range slidertextarea- the<textarea>...</textarea>HTML form component
The majority of attributes to these components serve as pass-through attributes to the generated HTML tag. Exceptions to these, by tag, include:
format- this attribute will throw an error if present and is anything other thanHTML. XML and Flash forms will not be supported.passthrough- this is a list of passthrough attributes which will be added to the form tag.scriptsrc- this defines an external location for the custom forms javascript file, which is sourced into the HTML outputpreservedata- When the form action posts back to the page that contains the form, this attribute determines whether to override the control values with the submitted values.
The following attributes are unsupported and generate a warning log message if used.
enablecabskinpreloadertimeoutwmodeaccessiblearchivecodebase
label- if provided, will generate an HTMLlabeltag before the generatedinputtagmessage- can be provided as a custom message if validation failspassthrough- this is a list of passthrough attributes which will be added to the form tag.
The following have not yet been implemented in the input component but are planned for development in the near-term.
autosuggest- Valid only fortype="text". Specifies entry completion suggestions to display as the user types into a text input. The user can select a suggestion to complete the text entry. The valid value can be either of the following:- A string consisting of the suggestion values separated by the delimiter specified by the delimiter attribute.
- A bind expression that gets the suggestion values based on the current input text.
autosuggestbinddelay- Valid only fortype="text". The minimum time between autosuggest bind expression invocations, in seconds. Use this attribute to limit the number of requests that are sent to the server when a user types.autosuggestminlength- Valid only fortype="text". The minimum number of characters required in the text box before invoking a bind expression to return items for suggestion.delimiter- Optional delimiter which informs theautosuggestattributemaxresultsdisplayed- Optional numeric value which informs the max result displayed by the autosuggestonbinderror- The name of a JavaScript function to execute if evaluating a bind expression, including an autosuggest bind expression, results in an error. The function must take two attributes: an HTTP status code and a message.showautosuggestloadingicon- A Boolean value that specifies whether to display an animated icon when loading an autosuggest value for a text input.typeahead- A Boolean value that specifies whether the autosuggest feature should automatically complete a user's entry with the first result in the suggestion list.validate- A limited subset of the accepted values forvalidatewill be supported in a future release. It is highly encouraged to use HTML 5 validation, includingmin,maxandmaskattributes, however.
bind- this attribute is unsupported and will throw an error if usedvalidateAt- Since thevalidateattribute passes through to an HTML5typeattribute on the tag, this attribute is not supported
The slider component creates a type="range" input component but access the following additional attributes:
increment- specifies thestepvalue of the sliderbgColor- specifies the background color of the slider bodycolor- specifes the color of the slider controlvertical- Optional boolean attribute. Whentrue, the slider will have a vertical orientation
passthrough- this is a list of passthrough attributes which will be added to the form tag.message- can be provided as a custom message if validation failspassthrough- this is a list of passthrough attributes which will be added to the form tag.
The following attributes are not supported and will be ignored if provided:
stylesXMLtemplatesXMLrichtexttoolbartoolbarOnFocus
|:------------------------------------------------------:|
| ⚡︎ B o x L a n g ⚡︎
| Dynamic : Modular : Productive
|:------------------------------------------------------:|
Copyright Since 2023 by Ortus Solutions, Corp
www.boxlang.io | www.ortussolutions.com
BoxLang is a professional open-source project and it is completely funded by the community and Ortus Solutions, Corp. Ortus Patreons get many benefits like a cfcasts account, a FORGEBOX Pro account and so much more. If you are interested in becoming a sponsor, please visit our patronage page: https://patreon.com/ortussolutions