hidden_field

NAML documentation   Watch a video
   Usages of this macro
... in search.naml
389
390
391
392
393
394
395
396
397
398
399
<macro name="hidden_field" parameters="name,default_value" dot_parameter="value">
    <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.not
Binary
Namespace: BasicNamespace
Parameters: condition
.is_null
Binary
Namespace: BasicNamespace
Parameters: value
.value>
        <then>
            <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.not
Binary
Namespace: BasicNamespace
Parameters: condition
.equal
Binary
Namespace: BasicNamespace
Parameters: value2, value1
 value1="[n.value/]" value2="[n.default_value/]">
                <then>
                    <input type='hidden' name="[n.name/]" value="[n.value/]"/>
                </then>
            </n.if.not.equal>
        </then>
    </n.if.not.is_null.value>
</macro>