# IsValid

Use the IsValid method to return whether the last value the user typed is valid. Learn its syntax and parameters in documentation.

## Content

Returns whether the last value the user typed is valid.

## Syntax

[JavaScript]

```javascript
FpSpread1.IsValid();
```

## Parameters

None

## Return Type

Bool, whether value is valid

## Remarks

This method can be used to see if the last value the user typed is valid. This method does not cause a postback to occur.

## Example

This is a sample that contains the method. On the client side, the script that contains the method would look like this:

```javascript
<script type="text/javascript">
   function getHValue() {
       var ss = document.getElementById("FpSpread1");
       var stopedit = ss.IsValid();
   }
</script>
```

## See Also

[Add](/spreadnet/docs/latest/online-asp/overview/spweb-clientscriptref/clientscript-members/clientscript-allmeths/CSSR-Add)
[Delete](/spreadnet/docs/latest/online-asp/overview/spweb-clientscriptref/clientscript-members/clientscript-allmeths/CSSR-Delete)
[Scripting Members](/spreadnet/docs/latest/online-asp/overview/spweb-clientscriptref/clientscript-members)