[pmwiki-users] Using ROSPatterns with fox forms

James DeVain jamesdevain at mail.com
Sun Feb 24 00:44:38 CST 2013

I have a page which I want to have no more than 50 lines of text at a
time. People will post to this page using a simple fox form. I created
an ROSPattern like:

$ROSPatterns["/^(([^\n]*\n?){0,5}).*/s"] = "$1"; 

which works perfectly if I'm opening the page directly and saving it,
but has no effect when posting to the page via fox form. Is there a way
to do this?


More information about the pmwiki-users mailing list