[pmwiki-users] can the cursor be positioned on forms?
The Editor
editor at fast.st
Thu Mar 23 19:21:24 CST 2006
Would it be simpler to just add an optional parameter to one of the
fields such as "focus" or "focus=true" for cases where the default is
not what one wants?
BTW, speaking of optional parameters, below I reposted an old problem
I can't seem to find the answer to, or any more detailed instructions
than what's on PmWiki.org. Help!
Cheers,
Caveman
****************************************************
I want to add an optional pagename parameter to
determine where users are forwarded to once a script is run.
I changed:
Markup('htpasswdform', '<split', '/\\(:membership:\\)/ei',
"HtpasswdForm(\$pagename)");
function HtpasswdForm($pagename,) {
to:
Markup('htpasswdform', '<split', '/\\(:membership(\\s+.*?):\\)/ei',
"HtpasswdForm(\$pagename,\$1)");
function HtpasswdForm($pagename,$nextpage) {
Everything seems to work but when I trigger the part of the script
that uses $nextpage --HandleBrowse($nextpage);--it just forwards me
to a blank page (with the original pagename's url. Template is there,
but no page, sidebars, headers, etc.
****************************************************
More information about the pmwiki-users
mailing list