Skip to content

Latest commit

 

History

History
42 lines (30 loc) · 1.13 KB

textarea.md

File metadata and controls

42 lines (30 loc) · 1.13 KB

HAPEL Core Method Reference


<textarea ...>

Description

Creates a <textarea> html tag.

textarea($name, $value, $required, $class, $id, $style, $data, $attr);

Parameters

Parameter Required Default
$name no null
$value no null
$required no null
$class no null
$id no null
$style no null
$data no null
$attr no null

Return Values

string

Example

Usage:

echo textarea('comments', 'My Comments', true, 'comment-field');

Result:

<textarea name="comments" required="required" class="comment-field">My Comments</textarea>