# contact-forms/1.9.2/PFBC/Element/Hidden.php

Contact Forms by Cimatti, version 1.9.2. 15 lines.

- Page: https://pluginprobe.com/plugins/contact-forms/1.9.2/code/PFBC/Element/Hidden.php
- Raw: https://pluginprobe.com/plugins/contact-forms/1.9.2/raw/PFBC/Element/Hidden.php
- Modified: 2023-03-14T12:04:18+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.9.2/code/PFBC/Element/Hidden.php#L10-L20`.

```php
<?php
class Element_Hidden extends Element {
	protected $attributes = array("type" => "hidden");

	public function __construct($name, $value = "", array $properties = null) {
		if(!is_array($properties))
			$properties = array();

		if(!empty($value))
			$properties["value"] = $value;

		parent::__construct("", $name, $properties);
	}
}

```
