FORM_PARAM


The algorithm of this function is similar to function HREF_PARAM.

Replaces with itself a construction like <TMPL_if a><input type="hidden" name="param_a" value=<TMPL_var HTMLESCAPE(a)"></TMPL_if> to <TMPL_udf FORM_PARAM("param_a", a)>

Example:
<TMPL_udf FORM_PARAM("param_name", param, "yes")>

<TMPL_udf FORM_PARAM("param_name", param)> (It is equivalent previous)

<TMPL_udf FORM_PARAM("param_name", param, "n")>


Copyright © 2003 - 2005 CTPP Dev. Team | http://reki.ru/products/ctpp