See Cookbook:PmForm. You can create local PmForm templates in the page Site.LocalTemplates Δ.
This form is displayed when form=#mailform
is displayed by a pmform target.
(:template default successpage='' :) (:input pmform target={$$target} successpage="{$$successpage}" :)
Message: |
This specifies the message to be sent when fmt=#mailpost
is given by a pmform target. It verifies the existence of a from address, subject, and message text.
(:input pmform target=comments:)
Post a comment:
Name: |
(:template defaults where=above :) (:template require author errmsg="Missing name":) (:template require text errmsg="Missing message":) (:template require text match="-*http:*,-*https:*" errmsg="Please don't post external links":) Posted by {$$author} on {$ $CurrentTime }
{$$text} |