Thursday, March 31, 2016, 4:04:57 PM, you wrote:
> What I'm willing to do, is to use any value in a form and format in a
> such a way I get something usable for a profil link.
> If the given value is G.M. Christopher, I would like [[Profile/G.M.
> Christopher]] link to Profil/GMChristopher.
you could use the markup _expression_ 'wikiword' by including the cookbook recipe
http://www.pmwiki.org/wiki/Cookbook/MarkupExprPlus
The wikiword _expression_ will 'sanitise' a text, dots will be stripped, words will start with capitals, spaces will be stripped. G.M. Christopher or g.m.christopher will become GMChristopher
to post a link via a Fox form using an input field named 'author'
you could use this in the Fox template the form uses:
[[Profiles/{$$(wikiword '{$$author}')}]]
Note the use of two $$ in the markup _expression_, which means Fox will evaluate the _expression_ when it is posted, not when the page is loaded.
Best regards,
Hans
_______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
