Hi,

Eric already helped me today with a related question here:
http://groups.google.com/group/tiddlywiki/browse_thread/thread/88628c439617c533

I've spent an hour searching for scripts I could use to send the list
generated in that script to a custom field, but am unsuccessful.
Here's what I've got so far:

[_(Left@)]Left ... [_(Right@)]Right ... [_(bilateral@)]bilateral

<script>
        var out=[]; var fmt='%0';
                for (var f in tiddler.fields)
if (tiddler.fields[f]=="true")
{
out.push(fmt.format([f]));
}
        return out.join(', ');
         store.setValue(tiddler.fields,"sendtext",(out.join(', ')));
</script>

it's that last line before the </script> that is my clumsy attempt at
getting the list generated by the line above it to go into a custom
field called "sendtext".  I also tried putting "out.join(', ')" inside
{{ }}, but that didn't work either.

Any suggestions?

--

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=.


Reply via email to