See also: fsRequired

Function used to determines whether or not the value in the field is whitespace. If the field contains whitespace, then an alert is displayed, focus is returned to the field, and any information in the field is selected.

Syntax

JSV_fvRequired(expO)

Prototype

n/a

Returns

The fvRequired does not return a value.

Parameters

The fvRequired function uses the following arguments.

Argument Description
expO The object.

Remarks

n/a

Dependencies

JSV_fsRequired

Example

The following lines of code

<FORM NAME="RequiredForm">
<B>Value:</B>
<INPUT TYPE="Text" NAME="MyValue" VALUE="Wowzo" 
       SIZE="8" MAXLENGTH="8" 
       onBlur="JSV_fvRequired(this);">
<INPUT TYPE="Button" NAME="RequiredCheck" VALUE="Check">
</FORM>

produce

Delete the value in the field and click the Check button.

Value: