Site

Pm Form Templates

#complianceform

This form is displayed when form=#complianceform is displayed by a pmform target.

[[#complianceform]]
(:template defaults successpage='Email/ThankYou' :)
(:input pmform target={$$target} successpage={$$successpage} :)
(:input default request=1:)
>>red<<
(:messages:)
>><<
%comment% $[Subject]:      (:input text Subject size=30:)
Nachricht:\\
(:input textarea text rows=8 cols=60:)\\
Geheim·wort: (:input text reference:)\\
(:recaptcha:)
(:input submit name=post value='$[Absenden]':)
(:input end:)
[[#complianceformend]]

#compliancepost

This specifies the message to be sent when fmt=#compliancepost is given by a pmform target. It verifies the existence of a message text.

[[#compliancepost]]
(:template require text errmsg="$[Du hast keine Nachricht eingegeben.]" :)
(:template require Subject match="" errmsg="$[Please leave the subject field blank]" :)
(:template require if="recaptcha" errmsg="Bitte überprüfe das Captcha." :)
{$$text}

==========
Geheimwort: {$$reference}
[[#compliancepostend]] 

#commentform

[[#commentform]]
(:input pmform target=comments:)
(:input default request=1:)
(:input default author "{$Author}" :)
'''Post a comment:'''
(:messages:)
Name: (:input text author:) \\
Comments: \\
(:input textarea text rows=10 cols=40:) \\
(:input submit name=post value="$[Post]" :)
(:input end:)
[[#commentformend]]

#talkpost

[[#talkpost]]
(:template defaults where=above :) 
(:template require author errmsg="$[Missing name]":)
>>talkpost<<
-> Posted by {$$author} on {$$CurrentTime}
{$$text}
>><<

[[#talkpostend]]