Pm Form Templates


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

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


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

(: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." :)

Geheimwort: {$$reference}


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


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