nice to know,
what if I have in TiddlerA, 2 fields that have an edit option?
And I have used those 2 fields in TiddlerB.
\define syncField(fieldname)
<$list filter="[has:field<__fieldname__>]">
<$action-setfield $field=<<__fieldname__>>
$value={{TiddlerA!!__fieldname__}}
/>
</$list>
\end
<$edit-text tag="input" size="50" field="field1"
inputActions="<<syncField field1>>"
/>
<$edit-text tag="input" size="50" field="field2"
inputActions="<<syncField field2>>"
/>
It didn’t work for me,
I tried with:
$value={{TiddlerA!!__fieldname__}}
and
$value={{TiddlerA!!fieldname}}
Nothing worked for me. I ran into an infinite loop, and I could not type in the input box.
But when I tried:
$value={{TiddlerA!!field1}}
then in TiddlerB, the field1 got the updated value.
In my case I have nearly 10-15 input boxes, should I write individual macros for each edit option?
How do I solve this?