[pmwiki-users] fun with forms

Jon Haupt jhaupt at gmail.com
Thu Apr 19 18:46:47 CDT 2007


On 4/19/07, Patrick R. Michaud <pmichaud at pobox.com> wrote:
> > ... I'll bet with a simple 1-5 star-based rating
> > system you could just somehow change a PTV to itself + whatever was
> > posted to the form and then display a rating based on the average of
> > what's currently there.
>
> While it certainly _could_ be done this way, the opinions I've
> been hearing about rating systems have indicated that a
> one-dimensional rating system isn't likely to be useful here.
> A few people have expressed strong opinions that if there's not a
> way to tie ratings to individual comments, or provide multiple
> rating dimensions, then we'd be better off without any sort of
> rating system.
>
> So, appending to a page text variable is a great approach,
> but there are a lot of people who are against it.
>
> The approach I'm currently planning to use is to put the
> ratings as comments to be added to a page -- something like:
>
>     Name: [________]   Rating: Low ( ) ( ) (*) ( ) ( ) High
>     Comments: [____________________________________________]
>     [ Post ]
>
> When someone hits Post, it inserts text into the page based
> on the fields:
>
>     * {$$name} {$$rating}
>     --> {$$comments}
>
> and if {$$rating} from the form consists of text values like
> "+1", "+2", ... "+5", then it all just works without someone
> having to edit the page.
>
> That's the current theory, at any rate.
>
> Pm
>

Cool.  Well, I know a lot of administrators and users of other tools
really like the star-based rating systems, so maybe it's a potential
future recipe.

Jon



More information about the pmwiki-users mailing list