[pmwiki-users] basic forms questions

Peter & Melodye Bowers pbowers at pobox.com
Tue Mar 4 02:39:22 CST 2008

I am using the built-in forms capability in pmwiki and running into some
issues where I don't know where to look to find the information I need.
Note that I am using GET method for everything.

* When I start my form with the (:input form method="GET":) directive I read
in the documentation that 
If the url is omitted, then the current page is assumed.
However, I find that it always takes me to my home page.  Note that I am NOT
using CleanUrls and so a "?n=group.page" is a necessary part of my URL.  I
have gotten around this by always including a directive:
	(:input hidden n="{*$FullName}:)
However, I'd like to simplify this as well as ensuring that it will work in
environments with CleanUrls or without CleanUrls.  Is the hidden field
necessary?  Are there preferred ways around this?

* The submit button does not have much in the way of documentation that I
can find.  It appears that if I specify a simple (:input submit xyz:) then
my label for my button becomes xyz but nothing gets set in the URL.  If I
specify (:input submit name=a xyz:) it does the same thing.  But if I have
another argument such as (:input submit abc xyz:) or (:input submit name=a
abc xyz:) then I end up with a ?abc=xyz or ?a=xyz in my URL.  This is
probably all very standard, but I'm just not finding any documentation at
all as to what the various arguments (presence or absence) does...

Any help would be greatly appreciated.  In both cases a "google on X" or
"look at Y on pmwiki" is fine -- I just don't know where to go or what to
look for to find the information.



More information about the pmwiki-users mailing list