<!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">
<small><font face="Albany">Thank you for this advice _ I think this is
the right way to go.!<br>
<br>
However I get an error when I try the test form. <br>
Error: no target specified!<br>
<br>
I tried replacing redirect with target in the code but this still gave
the same error.?<br>
<br>
Thanks<br>
<br>
Graham<br>
</font></small><br>
noskule wrote:
<blockquote cite="mid:490B4106.1090808@gmx.net" 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>
</body>
</html>