[pmwiki-users] ptv and forms

Benjamin Grassineau benjamingrassineau at gmail.com
Sun Feb 7 14:03:08 CST 2016


Hello,

A problem !

I use a form in order to create a research page. It works, but I can't get
the value of page text variables.

Example of form :

(:input form "http://labo.nonmarchand.org/pmwiki/" method:)
(:input hidden n 'Accueil.Recherche':)
(:input hidden group 'Blog':)
(:input hidden action search:)
(:input hidden $:RubriqueArticle '2':)
(:input hidden req 0:)
(:input submit value="Results":)
(:input end:)

The result in the adress bar is :

http://labo.nonmarchand.org/pmwiki/?n=Accueil.Recherche&group=Blog&action=search&
*ptv_RubriqueArticle*=2&req=0

And it doesn't work. The value of *ptv_*RubriqueArticle is omitted.

But it works if I manually change the writing of ptv (*$:*RubriqueArticle)
in the adress bar as follow :

http://labo.nonmarchand.org/pmwiki/?n=Accueil.Recherche&group=Blog&action=search&
*$:RubriqueArticle*=2&req=0

So my question is how can I get the value of ptv in a search form ?

Thanks if you have any solution.

Benjamin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20160207/64e6126f/attachment.html>


More information about the pmwiki-users mailing list