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.
!!! The CodeMirror mode dependencies file is outdated or missing !!! generate it
(:template require from errmsg="Missing 'from' address" :)
(:template require subject errmsg="Missing message subject" :)
(:template require text errmsg="Message text required" :)
(:template require if="captcha" errmsg="Captcha required" :)
{$$text}
==========
Sent via PmForm at {$$PageUrl}
#commentform
!!! The CodeMirror mode dependencies file is outdated or missing !!! generate it
(:input pmform target=comments:)
Post a comment: Name: Comments:
#talkpost
!!! The CodeMirror mode dependencies file is outdated or missing !!! generate it
(: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":)