See also: fsInteger |
Function used to determines whether or not the value in the field is an integer. If the field does not contain an integer, then an alert is displayed, focus is returned to the field, and any information in the field is selected.
JSV_fvInteger(expO [, emptyOK])
n/a
The fvInteger does not return a value.
The fvInteger function uses the following arguments.
Argument | Description |
expO | The object. |
emptyOK | Optional. Boolean value that indicates whether the field is mandatory (i.e., not empty). Default value is false. |
n/a
The following lines of code
<FORM NAME="IntegerForm">
<B>Integer Number:</B>
<INPUT TYPE="Text" NAME="MyInteger"
SIZE="8" MAXLENGTH="8"
onBlur="JSV_fvInteger(this,true);">
<INPUT TYPE="Button" NAME="IntegerCheck" VALUE="Check">
</FORM>
produce
Enter an integer number and click the Check button.
Copyright © 1998-2000 Roaring Fork Software. All rights reserved.