[tw] forEachTiddler 'where' using FormTiddler field

2009-11-18 Thread AlanBCohen
I'm getting a fair amount of use from the Form/Data tiddler combo, but
having a problems when trying to use the data element as a selection
criteria in a forEachTiddler macro.  For example:
where 'tiddler.data(facts)==Y'
 would seem to be the proper syntax ('facts' is a defined field) but
is producing an 'unrecognized token' error.
And how would I specify multiple acceptable values like Y, N,
?  (or the Any  condition)?

--

You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlyw...@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=.




Re: [tw] forEachTiddler 'where' using FormTiddler field

2009-11-18 Thread Alex Hough
Hi Alan,

The easy way to resolve this though help from the group would be to post a
'minimal test case' , a tiddlywiki inwhich the error is reproduced without
the posibility of interference from anything else in the TW.

I have found that forEachTiddler makes the problem more comlex sometimes and
have taken to using inline javascript.

 A few people seem to be using DropBox for this. I can recommend it, and if
you follow the link[1] we will both get extra storage - its a referral
promotion

Alex
[1] https://www.dropbox.com/referrals/NTEzMTY4NjU5

2009/11/18 AlanBCohen alanbco...@gmail.com

 I'm getting a fair amount of use from the Form/Data tiddler combo, but
 having a problems when trying to use the data element as a selection
 criteria in a forEachTiddler macro.  For example:
 where 'tiddler.data(facts)==Y'
  would seem to be the proper syntax ('facts' is a defined field) but
 is producing an 'unrecognized token' error.
 And how would I specify multiple acceptable values like Y, N,
 ?  (or the Any  condition)?

 --

 You received this message because you are subscribed to the Google Groups
 TiddlyWiki group.
 To post to this group, send email to tiddlyw...@googlegroups.com.
 To unsubscribe from this group, send email to
 tiddlywiki+unsubscr...@googlegroups.comtiddlywiki%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/tiddlywiki?hl=.





-- 
http://www.multiurl.com/g/64

--

You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlyw...@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=.