[pmwiki-users] PmForms, error messages
Sandy
sandy at onebit.ca
Thu Jan 17 17:13:59 CST 2008
Sandy wrote:
> I'm converting my site to use PmForms instead of MailForm and CommentBox.
>
> I've figured out the "require" statement.
>
> How do I make the messages more noticeable? I tried putting '''' around
> them.
>
>
> (: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}
>
> Thanks,
>
> Sandy
> (Off to stir supper.)
If there were unlimited programing time, or it were easy to do, I'd like
"Error found -- please try again" (or something similar) to show above
the specific messages. Something nice and bold. Also a <hr> or at least
some space between the error messages and the form. Personal pet peeve:
Forms that look like they worked but didn't, and error messages that
hide on me.
I like how it doesn't forget what I've typed in.
More information about the pmwiki-users
mailing list