Recent Changes - Search:

Cookbook

PmWiki

pmwiki.org

FormsPlus-Talk

Summary: Talk page for FormsPlus.
Maintainer: HansB
Users: (View? / Edit)

This space is for User-contributed commentary and notes. Please include your name and a date along with your comment.

So, I got a weird error when I first enabled this -- I couldn't edit, and instead I got a bunch of messages instead:

InputMarkup($pagename, $m[1], $m[2])
InputMarkup($pagename, $m[1], $m[2])
Summary: InputMarkup($pagename, $m[1], $m[2])
Author: InputMarkup($pagename, $m[1], $m[2]) InputMarkup($pagename, $m[1], $m[2]) This is a minor edit
InputMarkup($pagename, $m[1], $m[2]) InputMarkup($pagename, $m[1], $m[2]) InputMarkup($pagename, $m[1], $m[2]) InputMarkup($pagename, $m[1], $m[2]) InputMarkup($pagename, $m[1], $m[2])
InputMarkup($pagename, $m[1], $m[2]) 

Solution: Change Markup to Markup_e in the following codeblock of formsplus.php

Markup_e('input', 'directives',
  '/\\(:input\\s+(\\w[-\\w]+)(.*?):\\)/i',
  "InputMarkup(\$pagename, \$m[1], \$m[2])");

This seems to be in accordance with the usage of $m1[1], $m[2] matching variables.

MichaelPaulukonis August 22, 2014, at 12:19 PM

Talk page for the FormsPlus recipe (users?).

Edit - History - Print - Recent Changes - Search
Page last modified on August 22, 2014, at 01:15 PM