handle_anonymous_submit

NAML documentation   Watch a video
   Usages of this macro
... in reply.naml
683
684
685
686
687
688
689
690
691
692
<macro name="handle_anonymous_submit" requires="node_page">
    <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.visitor
Binary
Namespace: ServletNamespace
Parameters: do
.is_anonymous
Binary
Namespace: UserNamespace
>
        <then>
            <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.not
Binary
Namespace: BasicNamespace
Parameters: condition
.is_preview
Macro
>
                <then.check_captcha
Binary
Namespace: ServletNamespace
/>
            </n.if.not.is_preview>
            <n.set_anonymous_name
Binary
Namespace: ServletNamespace
Parameters: name
 name="[n.anonymous_name_field
Macro
Parameters: do
.value
Binary
Namespace: FieldNamespace
/]" />
        </then>
    </n.if.visitor.is_anonymous>
</macro>