[pmwiki-users] ConditionalMarkup for prompted user input

pmwiki pmwiki at ben-amotz.com
Mon Feb 13 07:52:37 CST 2006


pmwiki wrote:
> What do you think of the idea of providing a condition (and variable) 
> that allows ConditionalMarkup to respond to a user prompt?
>
> (1) A variable with a clear generic name, such as userprompt, could be 
> defined with an array of generic values, maybe simply the numeric digits 
> 0 to 9, with a known default value, such as 0.
>
> (2) The user could be prompted to change the default value of the 
> variable with a link, as with ViewModes and SkinChange, e.g.
>
> [[{$Name}?userprompt=1| Show me more]]
>
> (3) The ConditionalMarkup would test for the corresponding condition for 
> example:
>
> (:if userprompt 1:)
> Here is the additional information...
> (:if:)
>
> I set up a page testing the basic concept using existing tools 
> (ViewModes and the variables and values it allows).  Please feel free to 
> take a look and add your comments (there, or here).
>
> Thank you for all the great work that you have done with PmWiki.
>
> Pico
>
>
>
>
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://host.pmichaud.com/mailman/listinfo/pmwiki-users
>
>
>   
Oops, for got to say where the test page is located.  Its in 
ViewModes/Nested Text, i.e:
http://www.pmwiki.org/wiki/ViewModes/NestedText

Also note that this thread addresses a general issue that would include 
the more specific issue discussed in the thread called invisible/visible 
text

Pico




More information about the pmwiki-users mailing list