<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="Helvetica, Arial, sans-serif">Hi<br>
<br>
I copied the code from your working example and put it into my
wikisandbox.&nbsp; Both wiki's are using the same pmwiki version <span
 style="font-size: 69%;">pmwiki-2.2.0-beta68 </span></font><font
 face="Helvetica, Arial, sans-serif">&nbsp; but still I get the&nbsp; "Error:&nbsp; no
target specified".<br>
I do have httpvariables in config.php - it's after all the fox includes.<br>
<br>
The only thing I can guess at is that perhaps something is blocking
httpvariables from working correctly - since fox forms work o.k.&nbsp; <br>
I have not used httpvariables much - only to set cookies for example
and this seems to work fine. <br>
I'm wondering if&nbsp; there is a way I could check the httpvariables
{$get_var} functionality without a fox form? to see if its
httpvariables or fox or something else that is causing this.<br>
</font><font face="Arial"><font face="Helvetica, Arial, sans-serif"><br>
This is really frustrating as the functionality you have shown me is
exactly what I am looking for<span class="moz-smiley-s6"><span> :-[ </span></span><br>
</font><br>
Thanks for your help,<br>
<br>
Graham<br>
</font><br>
noskule wrote:
<blockquote cite="mid:490C4071.3070707@gmx.net" type="cite">
  <pre wrap="">Graham Archer schrieb:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Thank you for this advice _ I think this is the right way to go.!

However I get an error when I try the test form.
Error: no target specified!

I tried replacing redirect with target in the code but this still gave 
the same error.?

Thanks

Graham
    </pre>
  </blockquote>
  <pre wrap=""><!---->
hm, here it works : 
<a class="moz-txt-link-freetext" href="http://demo.netstreams.org/cms/index.php/Main/WikiSandbox">http://demo.netstreams.org/cms/index.php/Main/WikiSandbox</a>. ,maybe a 
copy/paste error?




  </pre>
  <blockquote type="cite">
    <pre wrap="">noskule wrote:
    </pre>
    <blockquote type="cite">
      <pre wrap="">Graham Archer schrieb:
  
      </pre>
      <blockquote type="cite">
        <pre wrap="">    
        </pre>
      </blockquote>
      <pre wrap="">it sounds like get vars (Cookbook:HttpVariables) could help you. Try 
something like this:


(:fox Test redirect={$$formname}?gVar={$$gVar}:)
(:input select formname {*$FullName} "Go to Form 1":)
(:input select formname {*$FullName} "Go to Form 2":)
(:input select formname {*$FullName} "Go to Form 3":)

(:input select gVar case1 "case 1":)
(:input select gVar case2 "case 2":)
(:input select gVar case3 "case 3":)


(:if equal {$?gVar} case1:)case 1: specific fields here
(:elseif equal {$?gVar} case2:)case 2: specific fields here
(:elseif equal {$?gVar} case3:)case 3: specific fields here
(:else:)no case defined
(:ifend:)

(:input submit post "Go":)
(:foxend Test:)



grz nos.



  
      </pre>
      <blockquote type="cite">
        <pre wrap="">In my mind I would like the user to choose an item from above, and 
then from that choice the next set of sub-choices are displayed, from 
which the user makes a choice again and so on until the correct 
outcome can be determined and  a message/link to the correct wikiform 
be displayed via the template.

I thought about doing this with ptvs - but if there are several people 
accessing the page  I think that would result in user b would see part 
of a page in use at the time by user a - so I have not taken this route.

I would welcome any advice on how best go about this.

Thanks in advance

Graham





------------------------------------------------------------------------

_______________________________________________
pmwiki-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:pmwiki-users@pmichaud.com">pmwiki-users@pmichaud.com</a>
<a class="moz-txt-link-freetext" href="http://www.pmichaud.com/mailman/listinfo/pmwiki-users">http://www.pmichaud.com/mailman/listinfo/pmwiki-users</a>
  
    
        </pre>
      </blockquote>
      <pre wrap="">
_______________________________________________
pmwiki-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:pmwiki-users@pmichaud.com">pmwiki-users@pmichaud.com</a>
<a class="moz-txt-link-freetext" href="http://www.pmichaud.com/mailman/listinfo/pmwiki-users">http://www.pmichaud.com/mailman/listinfo/pmwiki-users</a>
  
      </pre>
    </blockquote>
  </blockquote>
  <pre wrap=""><!---->

_______________________________________________
pmwiki-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:pmwiki-users@pmichaud.com">pmwiki-users@pmichaud.com</a>
<a class="moz-txt-link-freetext" href="http://www.pmichaud.com/mailman/listinfo/pmwiki-users">http://www.pmichaud.com/mailman/listinfo/pmwiki-users</a>
  </pre>
</blockquote>
</body>
</html>