Ok, I found the answer:

  fields:{{"id:'"+config.options.txtNewValue+"'"}}

Sorry for bother you.

Cheers,
octw

On 10月14日, 下午8時40分, octw <blog...@gmail.com> wrote:
> I got a problem while inserting a parameter into a <<newTiddler>> with
> a field value. My code is something like this:
>
> <<option txtNewValue>>
> <<clickify  newTiddler
>   label:"Add New Item"
>   fields:"id:{{config.options.txtNewValue}}">>
>
> I thought this should create an input box, and the <<newTiddler>>
> would grab the value writing into the field "id". However, it failed.
> It write exactly these words: "{{config.options.txtNewValue}}", not
> the value grabbed from the input box. No matter I change the syntax
> to
>
>   fields:id:{{config.options.txtNewValue}} or
>   fields:[[id:{{config.options.txtNewValue}}]]
>
> They were just not working. Any ideas?
>
> Cheers,
> octw

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

Reply via email to