AnsPress_Form::hidden_field( array $field = array() )

Description #

For creating hidden input fields

Parameters #

  • $field
    array (Optional) Default value: array()

Changelog #

VersionDescription
2.0.1Introduced.

Source #

File: includes/class/form.php

	private function hidden_field( $field = array() ) {
		$this->output .= '<input type="hidden" value="'. @$field['value'] .'" name="'. @$field['name'] .'" '. $this->attr( $field ) .' />';
	}

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Add your comment