void setHtmlTemplate(
template
$template)
|
|
Set the filename of the template to render html elements.
In your template, {html} is replaced by the unmodified html. If the element is required, {required} will be true. Eg. {if:error} <font color="red" size="1">{error:h}</font>
{end:} {html:h}
Parameters:
void setLabelTemplate(
template
$template)
|
|
Set the filename of the template to render form labels In your template, {label} is replaced by the unmodified label.
{error} will be set to the error, if any. {required} will be true if this is a required field Eg. {if:required} <font color="orange" size="1">*</font> {end:} {label:h}
Parameters: