Hi Sam,
a couple of days ago, Eric kindly posted the code below: it enables a
'next' button
<script label="Next">
var score=tiddler.data("score"); /* calc score from checkboxes */
var here=story.findContainingTiddler(place);
story.displayTiddler(here, score<3 ? 'tiddler1' : 'tiddler2');
/* tiddler1 else tiddler2 */
story.closeTiddler(here.getAttribute("tiddler")); /* close self */
return false;
</script>
I have used formTiddler to add data. in this case the score is < 3 ,
but you can add your own formular
Best Wishes
ALex
2009/3/19 Sam Cox <[email protected]>:
>
> Hi Russ,
>
> Thanks for your comments and observations.
>
> Yes, "workflow" is a good description of what I aiming for. I can live
> without data collection and with a single sequence of steps, but
> enforcing a linear, non-branching sequence is important as well as a
> few cosmetic touches such as seeing only one step at a time, show more
> or less information on demand, and access to reference material (e.g.,
> illustrated BOM) are important.
>
> Thanks for suggesting "state machine." That's precisely what I will
> need — eventually. For now, a hard coded sequence with Next and
> Previous buttons and, ideally, checkbox permission to proceed would be
> great. Checking a box to enable or display a Next button would do
> nicely.
>
> -- Sam
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---