value Property

Microsoft FrontPage Visual Basic

Show All Show All

value Property

ShowAs it applies to the FPHTMLLIElement and IHTMLLIElement objects.

Sets or returns a Long that represents the count of an item in an ordered list. Corresponds to the value attribute of an LI element.

expression.value

expression    Required. An expression that returns one of the above objects.

ShowAs it applies to the FPHTMLTextAreaElement and IHTMLTextAreaElement objects.

Sets or returns a String that represents the text displayed a TEXTAREA element. Corresponds to the value attribute of a TEXTAREA element.

expression.value

expression    Required. An expression that returns one of the above objects.

ShowAs it applies to all other objects in the Applies To list.

Sets or returns a String that represents value of the the value attribute for an INPUT or OPTION element.

expression.value

expression    Required. An expression that returns one of the objects in the Applies To list.

Remarks

The purpose of the value property for the INPUT element depends on the value of the type property. The following list describes the purpose of the value property for each of the different types of INPUT elements.

checkboxThe selected value. The control submits this value only if the user has selected the control. Otherwise, the control submits no value.
fileThe value, a file name, typed by the user into the control. Unlike other controls, this value is read-only.
hiddenThe control submits this value when the form is submitted.
passwordThe default value. The control displays this value when it is first created and when the user clicks the reset button.
radioThe button label. If not set, the label defaults to "Reset".
resetThe selected value. The control submits this value only if the user has selected the control. Otherwise, the control submits no value.
submitThe button label. If not set, the label defaults to "Submit Query."
textThe default value. The control displays this value when it is first created and when the user clicks the reset button.