# contact-forms/1.3/PFBC/Validation/Numeric.php

Contact Forms by Cimatti, version 1.3. 11 lines.

- Page: https://pluginprobe.com/plugins/contact-forms/1.3/code/PFBC/Validation/Numeric.php
- Raw: https://pluginprobe.com/plugins/contact-forms/1.3/raw/PFBC/Validation/Numeric.php
- Modified: 2013-07-25T16:57:42+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/contact-forms/1.3/code/PFBC/Validation/Numeric.php#L10-L20`.

```php
<?php
class Validation_Numeric extends Validation {
	protected $message = "Error: %element% must be numeric.";

	public function isValid($value) {
		if($this->isNotApplicable($value) || is_numeric($value))
			return true;
		return false;	
	}
}

```
