History of block_form
Generates the form element and some more.
!Parameters
||
ipackage|package where we should direct the form after submission|optional
ifile|file that is targetted. if neither ifile or ianchor are set, $PHP_SELF is used as url|optional
ianchor|move to anchor after submitting. if neither ifile or ianchor are set, $PHP_SELF is used as url|optional
legend|if set, it will generate a fieldset using the input as legend|optional
||
^Note Don't use this plugin if legend is generated dynamically since it is passed through tra()^
!Sample
{code}
{form enctype="multipart/form-data" id="editsampleform"}
<div class="row">
{formlabel label="Title" for="title"}
{forminput}<input type="text" size="60" maxlength="200" name="title" id="title" value="{$gContent->mInfo.title|escape}" />{/forminput}
</div>
{/form}
{/code}
!See also
*((Smarty Functions))
!Parameters
||
ipackage|package where we should direct the form after submission|optional
ifile|file that is targetted. if neither ifile or ianchor are set, $PHP_SELF is used as url|optional
ianchor|move to anchor after submitting. if neither ifile or ianchor are set, $PHP_SELF is used as url|optional
legend|if set, it will generate a fieldset using the input as legend|optional
||
^Note Don't use this plugin if legend is generated dynamically since it is passed through tra()^
!Sample
{code}
{form enctype="multipart/form-data" id="editsampleform"}
<div class="row">
{formlabel label="Title" for="title"}
{forminput}<input type="text" size="60" maxlength="200" name="title" id="title" value="{$gContent->mInfo.title|escape}" />{/forminput}
</div>
{/form}
{/code}
!See also
*((Smarty Functions))