Adam 2009-02-24
Documentation » Printp_field
Prints a form field (HTML input element) for specified node property together with the label
void p_field( string $name [, string $title = false, string $type = 'text', string $empty = false] )
Parameters
- string $name Name of the node's property
- string $title Title of the field (FALSE to take the name)
- string $type Type of the field (one of 'avatar', 'text', 'type', 'html', 'password', 'static', 'text', 'check')
- string $empty Whether to ignore current value of the node's property and set the form field value empty
