Skip to main content
Skip table of contents

value

An HTML content command for setting the initial value and type of an input element.

The HTML attribute "value" is set onto the host element with its value being a String representation of the resolved value of this command's primary attribute. Additionally, if the host element does not have the HTML attribute "type" already, it may receive it with a value matching the type of the resolved value.

This command has a priority of 15.

Examples

Use this content command to initialize a Form's inputs with previously existing values, for example. Give the input element the same name as the variable name to have the input's user-modified value to overwrite the original value:

CODE
<input name="quantity" dyn-value="quantity"/>
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.