Create an e-mail input field.

@param  string $name
@param  string $value
@param  array  $options

@return \Illuminate\Support\HtmlString
191453
public function email($name, $value = null, $options = [])
    {
        return $this->input('email', $name, $value, $options);
    }
918350
public function datetime($name, $value = null, $options = [])
    {
        $value = $this->getValueAttribute($name, $value);

        $timeValue = $dateValue = null;
        if($value instanceof \DateTime)
        {
            $dateValue= $value->format('Y-m-d');
            $timeValue = $value->format('H:i');
        }

        return $this->date($name.'[date]', $dateValue, $options) . $this->time($name.'[time]', $timeValue, $options);
    }
363587
public function plainInput($type, $name, $value = null, $options = [])
    {
        return parent::input($type, $name, $value, $options);
    }
1351927
public static function combo($name, array $options, $value = null, array $attributes = array())
    {
        $input = self::setAttr($attributes, '<select{{attr}}>', $name, 'select');

        foreach ($options as $key => $val) {
            $input .= '<option value="' . self::entities($val) . '"';

            if ($value === $val) {
                $input .= ' selected';
            }

            $input .= '>' . $key . '</option>';
        }

        return $input . '</select>';
    }
645387
public function button($value = null, $options = [])
    {
        if (! array_key_exists('type', $options)) {
            $options['type'] = 'button';
        }

        return '<button'.$this->html->attributes($options).'>'.$value.'</button>';
    }
387899
public static function label($name, $value = null, array $options = [])
    {
        self::exclure($options, ['value', 'for']);

        self::$labels[] = $name;

        $value = e(self::formatLabel($name, $value));

        $options = Html::attributes($options);

        return '<label for="'.$name.'"'.$options.'>'.$value.'</label>';
    }
1246197
public function plainTextarea($name, $value = null, $options = [])
    {
        return parent::textarea($name, $value, $options);
    }
622597
protected static function field_hidden( $name, $value = null, $options = null ) {

		$form_field_type = self::$field_type;

		ob_start();

		pods_view( PODS_DIR . 'ui/fields/_hidden.php', compact( array_keys( get_defined_vars() ) ) );

		$output = ob_get_clean();

		return apply_filters( 'pods_form_ui_field_hidden', $output, $name, $value, $options );
	}
1117521
public function input($type, $name, $value = null, $options = array())
    {
        $options = $this->appendClassToOptions(Config::get('form-builder.control-class'), $options);

        return parent::input($type, $name, $value, $options);
    }
866096
public function textarea($name, $value = null, $options = [])
    {
        $options = $this->appendClassToOptions('form-control', $options);

        return parent::textarea($name, $value, $options);
    }
1077164
public function month($name, $value = null, $options = [])
    {
        if ($value instanceof DateTime) {
            $value = $value->format('Y-m');
        }

        return $this->input('month', $name, $value, $options);
    }
1130840
protected function renderCheckbox($name, $value, $options)
    {
        $options['tabindex'] = self::TABINDEX;

        if (!isset($options['label'])) {
            $options['label'] = '';
        }

        if (!array_key_exists('uncheck', $options)) {
            $options['uncheck'] = 0;
        }

        $input = Html::checkbox($name, $value, $options);

        return Html::tag('div', $input, ['class' => 'checkbox']);
    }
1198620
public static function textArea($name, $value = '', $htmlOptions = array())
    {
        $htmlOptions = self::normalizeInputOptions($htmlOptions);
        return parent::textArea($name, $value, $htmlOptions);
    }
134425
public function input($type, $name, $value = '', $options = [])
    {
        if (!isset($options['id'])) {
            $options['id'] = $name;
        }

        if (!empty($value)) {
            $options['value'] = $value;
        }

        $options['type'] = $type;
        $options['name'] = $name;

        return '<input'.$this->attributes($options).'>';
    }
367671
public function select($name = null, array $options = array(), $value = null, $attr = null, $first = null)
    {
        $select = new Input\Select($name);

        if($name)
            $select->attr('id', $name);

        if(count($options) > 0)
            $select->options($options);
        elseif (isset($this->dataOptions[$name]))
            $select->options($this->dataOptions[$name]);

        if($value)
            $select->value($value);
        else if(isset($this->data[$name]))
            $select->value($this->data[$name]);

        if($attr)
            $select->attr($attr);

        if(isset($this->override[$name]))
            $select->override($this->override[$name]);

        if($first)
            $select->first($first);

        return $select;
    }
1175335
public static function string(&$value, $options = ['length'=>null, 'regex'=>null, 'default'=>null])
    {
        $value = htmlspecialchars(trim($value));
        self::processString($value, $options);
        return $value;
    }
112489
public static function submit($value, array $options = [])
    {
        self::exclure($options, ['type', 'value']);

        return self::input('submit', 'null', $value, $options);
    }